fix(summoner): increase single-call timeout to 300s

Some models (e.g. Kimi deep reasoning) need 160s+, 120s was too aggressive.
This commit is contained in:
viettranx committed 2026-03-07 01:29:41 +07:00
1 parent e6e582e9eb
commit 39e906e5d4
1 file changed
+1 -1
+1 -1
View File
@@ -68,7 +68,7 @@ func NewAgentSummoner(agents store.AgentStore, providerReg *providers.Registry,
// singleCallTimeout is the deadline for the optimistic single LLM call.
// If exceeded, we fall back to the 2-call approach with the remaining budget.
const singleCallTimeout = 120 * time.Second
const singleCallTimeout = 300 * time.Second
// SummonAgent generates context files from a natural language description.
// Meant to be called as a goroutine: go summoner.SummonAgent(...)