You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAI API Error: 401 Incorecct API Key provided #6
我在阿里云百炼平台申请了免费试用(额度 100 万 Token)的 API Key,想要体验下 Qwen Coder,使用方式按照官方提供的文档执行,但是遇到了下面的问题:
What did you expect to happen?
如果它不是 Bug,期望能解答下我所遇到的问题,如何解决。
Client information
Details
│ ││ About Gemini CLI ││ ││ CLI Version 0.0.1-alpha.7 ││ Git Commit b5a8df7 (local modifications) ││ Model qwen3-coder-plus ││ Sandbox no sandbox ││ OS darwin ││ Auth Method openai
Activity
alonelaval commentedon Jul 23, 2025
✕ [API Error: OpenAI API error: 401 Incorrect API key provided. ]
deluxebear commentedon Jul 23, 2025
audiebant commentedon Jul 23, 2025
thanks,bro.its work.The reason is that the document's OPENAI_BASE_URL is an internal address.
dayL-W commentedon Jul 23, 2025
把URL改成,https://dashscope.aliyuncs.com/compatible-mode/v1
示例中的是dashscope-intl,这个是国际站百炼,绝大部分国内用户使用的是国内百炼
JRF0504 commentedon Jul 23, 2025
我更换成国内的BASE_URL解决了这个问题 #17
SmarKid commentedon Jul 23, 2025
OPENAI_BASE_URL 难道不能用自己部署的模型吗
fix: harden daemon mode - security, lifecycle, robustness
fix(channels): address PR review — security, bugs, and reliability
55 remaining items
feat(cli): add --project and --global flags to /model for per-project…
fix(ci): address review — diff guard, round-robin fallback, grammar
fix(channels): pass threadId through pairing flow + sendResponseMessa…
feat(channels): GitHub polling adapter with notification-as-wakeup ar…
fix(core): disarm the cap on thawed boards and anchor stub digests (#…
fix(cli): make the daemon loop guard result-aware for task_list polls (…
fix(cli): mark suppressed stateful replays for the daemon batch decay (…
fix(cli): exclude never-executed skipped-output synthetics from the l…
fix(cli): carry live stateful streak marks across non-stateful replay…
fix(cli): address ytahdn independent review findings in OpenTUI found…
fix(core): make loop detection result-aware for task_list polls (Qwen…
feat(cli): OpenTUI migration live-session and input batch (QwenLM#10368)
feat(cli): OpenTUI migration batch 4 — dialogs, commands, and session…
fix: Address round-5 review for manual session PR binding
feat: Manual session PR binding (/pr command + Web Shell dialog) (#16877