Skip to content

Commit eac2c82

Browse files
committed
fix: omit ref for todo tool
1 parent 2b7c400 commit eac2c82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/tool/todo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Todo } from "../session/todo"
66
export const TodoWriteTool = Tool.define("todowrite", {
77
description: DESCRIPTION_WRITE,
88
parameters: z.object({
9-
todos: z.array(Todo.Info).describe("The updated todo list"),
9+
todos: z.array(z.object(Todo.Info.shape)).describe("The updated todo list"),
1010
}),
1111
async execute(params, opts) {
1212
await Todo.update({

0 commit comments

Comments
 (0)