mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-28 16:56:16 +08:00
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:
+1
-2
@@ -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 同步方式
|
||||
|
||||
Reference in New Issue
Block a user