mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-14 02:15:57 +00:00
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:
1 parent
e6e582e9eb
commit
39e906e5d4
1 file changed
+1
-1
@@ -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(...)
|
||||
|
||||
Reference in new issue
Block a user