mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-09 17:19:02 +00:00
getAuthTypeFromEnv() only accepted OPENAI_MODEL as the model env var for USE_OPENAI, but QWEN_MODEL is an equally valid one: it is listed in AUTH_ENV_MODEL_VARS[USE_OPENAI], documented in the function's own comment, and honored by the model-resolution path. As a result a config that sets OPENAI_API_KEY + QWEN_MODEL + OPENAI_BASE_URL (without OPENAI_MODEL) failed auth detection and returned undefined. Accept either OPENAI_MODEL or QWEN_MODEL, matching the rest of the file. Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| acp-bridge | ||
| audio-capture | ||
| channels | ||
| cli | ||
| core | ||
| desktop | ||
| sdk-java | ||
| sdk-python | ||
| sdk-typescript | ||
| vscode-ide-companion | ||
| web-shell | ||
| web-templates | ||
| webui | ||
| zed-extension | ||