fix(background-agent): disable question tool for background tasks

This commit is contained in:
justsisyphus 2026-01-26 17:12:16 +09:00
parent 7e065dfe12
commit 26b1c67964

View File

@ -305,6 +305,7 @@ export class BackgroundManager {
task: false, task: false,
delegate_task: false, delegate_task: false,
call_omo_agent: true, call_omo_agent: true,
question: false,
}, },
parts: [{ type: "text", text: input.prompt }], parts: [{ type: "text", text: input.prompt }],
}, },
@ -551,6 +552,7 @@ export class BackgroundManager {
task: false, task: false,
delegate_task: false, delegate_task: false,
call_omo_agent: true, call_omo_agent: true,
question: false,
}, },
parts: [{ type: "text", text: input.prompt }], parts: [{ type: "text", text: input.prompt }],
}, },