mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
61a540307f
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.