mirror of
https://mirror.skon.top/github.com/code-yeongyu/oh-my-opencode
synced 2026-05-01 12:10:01 +08:00
fix: prevent background agents from spawning recursive subagents via call_omo_agent (#536)
This commit is contained in:
@@ -116,6 +116,7 @@ export class BackgroundManager {
|
||||
tools: {
|
||||
task: false,
|
||||
background_task: false,
|
||||
call_omo_agent: false,
|
||||
},
|
||||
parts: [{ type: "text", text: input.prompt }],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user