Skip to content

Commit 7d42f0b

Browse files
committed
feat: add gpt-5.2/5.3 codex model mappings, note proxy-only models
1 parent b5293ac commit 7d42f0b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/OpenRouterCLIProxyAPI.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,15 @@ const MODEL_MAP_OPENAI = Dict{String,String}(
3131
"gpt-5.1-codex-mini" => "openai/gpt-5.1-codex-mini",
3232
"gpt-5.1-codex-max" => "openai/gpt-5.1-codex-max",
3333
"gpt-5.2" => "openai/gpt-5.2",
34+
"gpt-5.2-codex" => "openai/gpt-5.2-codex",
35+
"gpt-5.3-codex" => "openai/gpt-5.3-codex",
3436
)
3537

38+
# Models only on CLI proxy (not on OpenRouter) — usable via cli_proxy_api provider directly
39+
const PROXY_ONLY_MODELS = [
40+
"gpt-5.3-codex-spark",
41+
]
42+
3643
const MODEL_MAP = merge(MODEL_MAP_ANTHROPIC, MODEL_MAP_OPENAI)
3744
const MODEL_MAP_REVERSE = Dict(v => k for (k, v) in MODEL_MAP)
3845

0 commit comments

Comments
 (0)