fix: increase LLM client timeout to 5 minutes
CI / test (pull_request) Successful in 13s
CI / review (gpt-5, sonnet, SONNET_REVIEW_TOKEN) (pull_request) Successful in 1m13s
CI / review (gpt-5-mini, gpt, GPT_REVIEW_TOKEN) (pull_request) Successful in 1m43s

GPT-5-mini timed out on larger diffs (2min was too short).
LLM calls for code review with full file context can take 2-4min.
This commit is contained in:
Rodin
2026-05-01 13:00:36 -07:00
parent cedb5e7b90
commit 401e94d3e4
+1 -1
View File
@@ -27,7 +27,7 @@ func NewClient(baseURL, apiKey, model string) *Client {
baseURL: strings.TrimRight(baseURL, "/"),
apiKey: apiKey,
model: model,
http: &http.Client{Timeout: 2 * time.Minute},
http: &http.Client{Timeout: 5 * time.Minute},
}
}