mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
disable todo tools by default in agent
This commit is contained in:
@@ -44,7 +44,10 @@ export namespace Agent {
|
|||||||
item = result[key] = {
|
item = result[key] = {
|
||||||
name: key,
|
name: key,
|
||||||
description: "",
|
description: "",
|
||||||
tools: {},
|
tools: {
|
||||||
|
todowrite: false,
|
||||||
|
todoread: false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
const model = value.model ?? cfg.model
|
const model = value.model ?? cfg.model
|
||||||
if (model) item.model = Provider.parseModel(model)
|
if (model) item.model = Provider.parseModel(model)
|
||||||
|
|||||||
Reference in New Issue
Block a user