mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
fix: Codex 端点 URL 使用 /responses 而非 /v1/responses
Codex OAuth 端点(chatgpt.com/backend-api/codex)不走标准 /v1 前缀,之前 build_provider_url() 统一使用 /v1/responses 导致 404 错误。 修改内容: - transport.py: build_provider_url() 对 Codex URL 做特判,使用 /responses - EndpointFormDialog.vue: placeholder 对 Codex 端点显示正确路径 - guide-config.ts: 文档说明两种路径格式
This commit is contained in:
@@ -118,7 +118,7 @@ export const apiFormats = [
|
||||
},
|
||||
{
|
||||
name: 'OpenAI CLI',
|
||||
endpoint: '/v1/responses',
|
||||
endpoint: '/v1/responses (Codex: /responses)',
|
||||
auth: 'Authorization: Bearer xxx',
|
||||
clients: ['Codex CLI']
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user