mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 14:22:27 +00:00
track errors
This commit is contained in:
@@ -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.object({}),
|
||||
parameters: z.void({}),
|
||||
async execute(params, opts) {
|
||||
const todos = state()[opts.sessionID] ?? []
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user