rework
This commit is contained in:
parent
6cfce1e4da
commit
05974ea109
1 changed files with 8 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export const TodoWriteTool = Tool.define({
|
|||
export const TodoReadTool = Tool.define({
|
||||
id: "opencode.todoread",
|
||||
description: "Use this tool to read your todo list",
|
||||
parameters: z.void({}),
|
||||
parameters: z.object({}),
|
||||
async execute(params, opts) {
|
||||
const todos = state()[opts.sessionID] ?? []
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue