fix(codex-oauth-proxy): support gpt-6.1-terra
1.1.1 omits the model from normalizeModel's allowlist, so requests for gpt-6.1-terra are rewritten to gpt-5.5. ChatGPT accounts are not entitled to gpt-5.5, so the request fails with model_not_found. Add the model to the allowlist, allowed reasoning efforts, and default effort. Covered by the transform tests.
This commit is contained in:
@@ -18,6 +18,10 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-hb0rGd+HZHSV/sLXiIa7LPkXVuRqdXrQHZxM4v5sgvs=";
|
||||
|
||||
# 1.1.1 rewrites gpt-6.1-terra to gpt-5.5, which ChatGPT accounts reject.
|
||||
# Drop once upstream lists the model in normalizeModel.
|
||||
patches = [ ./gpt-6.1-terra.patch ];
|
||||
|
||||
env.CGO_ENABLED = 0;
|
||||
|
||||
# cmd/codex-oauth-proxy-worker and parts of internal/server are js && wasm
|
||||
|
||||
Reference in New Issue
Block a user