跳转到内容

unexpected status 404 Not Found: Unknown error - Codex

Quick fix

将 DeepSeek 官方 API 请求地址改为包含 /v1 的地址后,再通过 Codex 发起请求。

报错原文
unexpected status 404 Not Found: Unknown error, url: https://api.deepseek.com/responses

DeepSeek 官方 API 不支持直接请求 `responses` 接口;Codex 当前请求到了 `https://api.deepseek.com/responses`,因此返回 404。

已有用户确认,在 API 请求地址后加上 `/v1` 可以解决此问题。

  1. 在 CC Switch 的 Codex 配置中,将 DeepSeek 官方 API 的请求地址末尾加上 `/v1`。

  2. 重新发起 Codex 请求,确认不再请求 `https://api.deepseek.com/responses`。

ToolCodex
Version未知
PlatformsWindows
有解决方案吗?
将 API 请求地址末尾加上 `/v1`;已有用户反馈该方法可用。

这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。