fix(llm): nightly uses the gateway's models; no OpenAI defaults #575

Merged
sharang merged 1 commits from fix/nightly-llm-models into main 2026-10-29 07:43:22 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 48265723fb fix(llm): nightly uses the gateway's models; no OpenAI defaults
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 / Check (pull_request) Successful in 9m47s
The nightly scan regression set LITELLM_URL and the key but no model, so
the agent asked for gpt-4o / text-embedding-3-small, which LiteLLM
refuses: about 425 failed requests every night at 03:03 UTC (98 % of the
gateway's error spans in SigNoz). The workflow now sets the models stage
and prod run (Qwen3.8-27B, bge-multilingual-gemma2).

Without LITELLM_MODEL / LITELLM_EMBED_MODEL the agent no longer falls
back to OpenAI names: LlmClient refuses before sending (chat and
embeddings), the agent warns once at start, and callers take their
existing "LLM unavailable" path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
2026-10-28 23:11:52 +01:00