mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix(askquestion): disablet the tool for subagents
This commit is contained in:
parent
19ad1ee520
commit
53eebfc1a4
1 changed files with 1 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ export const TaskTool = Tool.define("task", async () => {
|
|||
todowrite: false,
|
||||
todoread: false,
|
||||
task: false,
|
||||
askquestion: false,
|
||||
...Object.fromEntries((config.experimental?.primary_tools ?? []).map((t) => [t, false])),
|
||||
...agent.tools,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue