fix: route deepseek codex via moonbridge

This commit is contained in:
Codex
2026-05-26 10:27:25 +08:00
parent 0ba5b2c352
commit 986d8f5c07
6 changed files with 278 additions and 33 deletions
+4 -2
View File
@@ -29,8 +29,10 @@ Codex token boundary 仍由授权路径把 `OPENAI_API_KEY` 注入到 DEV runtim
直接指向 public `api.openai.com`。G14 默认 `deepseek` profile 指向
`http://hwlab-deepseek-proxy.<namespace>.svc.cluster.local:4000/v1/responses`;该
Service 必须先进入 `hwlab-deepseek-responses-bridge`,由 bridge 解压 Codex
Responses 的 zstd request body、规范化 `/v1/models` 返回,再转发到同 Pod 内
LiteLLM 4001。`codex-api` profile 仍可指向
Responses 的 zstd request body、规范化 `/v1/models` 返回、丢弃非 `function` tool
再转发到同 Pod 内 Moon Bridge 4001。Moon Bridge 是 DeepSeek profile 的真实
Responses 转换和 prompt cache 保留层;不要在 HWLAB 中手写完整转换器替代它。
`codex-api` profile 仍可指向
`http://172.26.26.227:17680/v1/responses` 作为旧 Responses 通道。
Runner 不得尝试修补、读取、回显或替换该 Secret。若 DEV runtime 缺少该授权凭证注入,