From 39e906e5d45deaa6741543bafefecc04e0b15c5c Mon Sep 17 00:00:00 2001 From: viettranx Date: Sat, 7 Mar 2026 01:29:41 +0700 Subject: [PATCH] fix(summoner): increase single-call timeout to 300s Some models (e.g. Kimi deep reasoning) need 160s+, 120s was too aggressive. --- internal/http/summoner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/summoner.go b/internal/http/summoner.go index d317be3b..ef350cc4 100644 --- a/internal/http/summoner.go +++ b/internal/http/summoner.go @@ -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(...)