fix(llm): configurable call timeout; one failed triage call is not "model down"
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m49s
CI / Check (pull_request) Successful in 17m58s
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m49s
CI / Check (pull_request) Successful in 17m58s
Prüfwerk gave up on every LLM call after a fixed 300 s while LiteLLM keeps a request for 600 s: under load (two scans, median 57 s, p95 235 s per call on prod) calls were dropped that the gateway was still working on, and the abandoned work kept the model busy. - LLM_TIMEOUT_SECS (default 600, the gateway's request timeout) sets the total time per call; LlmClient::with_timeout. - Triage takes the model as down only when at least two calls in flight fail at once. A small scan sends one call per try, so one timeout used to skip the retries, including the one-by-one try for critical and high findings (prod 03.11.: 4 critical/high findings left without a verdict). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3300bb1851
commit
c61368e8ff
6 files changed
+99
-24
No files matched your search
@@ -7,6 +7,9 @@ LITELLM_URL=http://localhost:4000
|
||||
LITELLM_API_KEY=
|
||||
LITELLM_MODEL=Qwen3.8-27B
|
||||
LITELLM_EMBED_MODEL=bge-multilingual-gemma2
|
||||
# Seconds one LLM call may take in total, the gateway's queue included. Keep it
|
||||
# at the gateway's request timeout (LiteLLM: 600).
|
||||
LLM_TIMEOUT_SECS=600
|
||||
|
||||
# GitHub
|
||||
GITHUB_TOKEN=
|
||||
|
||||
Reference in new issue
Block a user