qwen-code/packages
Yufeng He 9a63d565aa
fix(cli): detect USE_OPENAI auth when the model is set via QWEN_MODEL (#5647)
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>
2026-06-22 22:45:24 +08:00
..
acp-bridge feat(web-shell): support daemon session branching (#5613) 2026-06-22 19:18:01 +08:00
audio-capture feat(voice): voice dictation with native capture, streaming, and biasing (#5502) 2026-06-22 14:33:36 +08:00
channels chore(release): v0.18.5 [skip ci] 2026-06-21 21:13:19 +08:00
cli fix(cli): detect USE_OPENAI auth when the model is set via QWEN_MODEL (#5647) 2026-06-22 22:45:24 +08:00
core fix(core): escape backslashes and quotes in emacs ediff paths (#5630) 2026-06-22 22:44:38 +08:00
desktop fix(desktop): reject fractional transfer sizes (#5527) 2026-06-21 13:05:52 +08:00
sdk-java feat(core): add NotebookEdit tool for Jupyter notebooks 2026-05-21 00:06:15 +08:00
sdk-python doc[sdk-python] Expand Python SDK usage documentation (#3995) 2026-05-12 15:27:00 +08:00
sdk-typescript feat(web-shell): support daemon session branching (#5613) 2026-06-22 19:18:01 +08:00
vscode-ide-companion feat(workflows): finish Dynamic Workflows port — resume, saved workflows, keyword trigger, notifications (#4721) (#5600) 2026-06-22 19:13:14 +08:00
web-shell feat(web-shell): support daemon session branching (#5613) 2026-06-22 19:18:01 +08:00
web-templates chore(release): v0.18.5 [skip ci] 2026-06-21 21:13:19 +08:00
webui fix(cli): Fail dangling replayed tool calls (#5624) 2026-06-22 20:04:33 +08:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00