fix(core): limit subagent nesting depth (#37124)

Co-authored-by: Dax <mail@thdxr.com>
This commit is contained in:
opencode-agent[bot]
2026-07-15 09:53:52 -05:00
committed by GitHub
co-authored by Dax
parent 656f299017
commit 285d315b4e
4 changed files with 99 additions and 1 deletions
+1
View File
@@ -1928,6 +1928,7 @@ export type Config = {
model?: string
small_model?: string
default_agent?: string
subagent_depth?: number
username?: string
mode?: {
build?: AgentConfig