Error: GPT-5 - 401

未关闭
#13,381 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 8 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃

调研方向

The payload names no file or entry point. Start by reproducing the 401 with an OpenAI model configured alongside a key that has a gsk_ prefix, then find where the provider's API key is read and sent. Done means the report's cause is confirmed, either a misconfigured key or a provider mix-up, with a clear message or fix. The reporter has not said which change is wanted, so confirm the expected behaviour with a maintainer before editing.

由索引模型根据 Issue 内容生成。

描述

Error Details

Model: GPT-5
Provider: openai
Status Code: 401

Error Output

{"message":"Incorrect API key provided: gsk_jdam********************************************0Fmi. You can find your API key at https://platform.openai.com/account/api-keys.","type":"invalid_request_error","param":null,"code":"invalid_api_key"}

Additional Context
Please add any additional context about the error here

主要语言
TypeScript
星标
36.5k
派生
5.6k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

continuedev/continue 的其他 Issue

查看 continuedev/continue 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。