fix: raise provider HTTP timeouts from 30s to 10min
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

30-second resty client timeout was killing long streaming responses
mid-generation. Models with large output windows (e.g. deepseek-v4-pro
at 384K max_tokens) routinely exceed 30s. Raised all providers to
10 minutes (Ollama already at 15min, unchanged). Circuit breaker
recovery timeout raised from 30s to 5min.
This commit is contained in:
2026-04-30 10:17:45 -04:00
parent 4aa17b4fd2
commit eb67287b56
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ type GrokProvider struct {
func NewGrokProvider(cfg config.GrokConfig, apiKey string) *GrokProvider {
return &GrokProvider{
client: resty.New().SetTimeout(30 * time.Second),
client: resty.New().SetTimeout(10 * time.Minute),
config: cfg,
apiKey: apiKey,
}