fix(agent): let subagents recover from tool errors

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-25 11:54:40 +08:00
1 parent 2e7ebeb1ca
commit 8332c604da
12 files changed
+140 -252

No files matched your search

-1
View File
@@ -129,7 +129,6 @@ class AgentDefaults(Base):
fallback_models: list[FallbackCandidate] = Field(default_factory=list)
max_tool_iterations: int = 200
max_concurrent_subagents: int = Field(default=1, ge=1)
fail_on_tool_error: bool = True
max_tool_result_chars: int = 16_000
provider_retry_mode: Literal["standard", "persistent"] = "standard"
tool_hint_max_length: int = Field(