refactor(proxy): remove Codex Chat Completions API format support

Codex CLI only uses OpenAI Responses API. Remove unused Chat Completions
routes, handler, parser config, URL builder branches, frontend API format
selector, and stale i18n keys. Claude openai_chat support is preserved.
This commit is contained in:
YoVinchen
2026-02-12 23:00:46 +08:00
parent fad81d6fa4
commit c1048ebcbe
13 changed files with 17 additions and 283 deletions
+1 -2
View File
@@ -146,8 +146,7 @@ export interface ProviderMeta {
// - "openai_chat": OpenAI Chat Completions 格式,需要格式转换
// Codex:
// - "responses": OpenAI Responses API
// - "chat": OpenAI Chat Completions API
apiFormat?: "anthropic" | "openai_chat" | "responses" | "chat";
apiFormat?: "anthropic" | "openai_chat" | "responses";
}
// Skill 同步方式