Files
nina-mir 61a540307f fix(llm): resolve DeepSeek and Cerebras API keys explicitly
ChatDeepSeek and ChatCerebras pass api_key=None to AsyncOpenAI while
pointing at non-OpenAI base_urls, so the SDK falls back to OPENAI_API_KEY
and authenticates api.deepseek.com and api.cerebras.ai with it.

Resolve each provider's documented env var explicitly and raise when
absent, matching the pattern applied to ChatOpenRouter and ChatVercel
in #5599. models.md already documented DEEPSEEK_API_KEY and
CEREBRAS_API_KEY; neither adapter read them.
2026-09-04 00:56:53 -07:00
..