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
@@ -17,7 +17,7 @@ func NewCircuitBreakerProvider(p Provider) Provider {
name := p.Name()
var maxRequests uint32 = 5
var interval = 60 * time.Second
var timeout = 30 * time.Second
var timeout = 5 * time.Minute
settings := gobreaker.Settings{
Name: name,