Browse Source

disable todo tools by default in agent

Dax Raad 7 months ago
parent
commit
d6b3bb0807
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/opencode/src/agent/agent.ts

+ 4 - 1
packages/opencode/src/agent/agent.ts

@@ -44,7 +44,10 @@ export namespace Agent {
         item = result[key] = {
           name: key,
           description: "",
-          tools: {},
+          tools: {
+            todowrite: false,
+            todoread: false,
+          },
         }
       const model = value.model ?? cfg.model
       if (model) item.model = Provider.parseModel(model)