فهرست منبع

disable todo tools by default in agent

Dax Raad 7 ماه پیش
والد
کامیت
d6b3bb0807
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  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)