mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: omit ref for todo tool
This commit is contained in:
parent
edc933d816
commit
0377cfd37c
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import { Todo } from "../session/todo"
|
|||
export const TodoWriteTool = Tool.define("todowrite", {
|
||||
description: DESCRIPTION_WRITE,
|
||||
parameters: z.object({
|
||||
todos: z.array(Todo.Info).describe("The updated todo list"),
|
||||
todos: z.array(z.object(Todo.Info.shape)).describe("The updated todo list"),
|
||||
}),
|
||||
async execute(params, opts) {
|
||||
await Todo.update({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue