fix(codex): refresh model catalog for Astra
The Codex catalog gates model visibility by client version. Requests advertising 0.144.0 succeed but omit Astra for an otherwise eligible account. Use the validated 0.153.4 catalog version so account discovery can expose it without changing model defaults or fallback entries. Pin the expected wire version independently in the regression test and cover both Astra and future account models while preserving hidden-model filtering.
This commit is contained in:
1 parent
104917aaec
commit
92a297a6c8
2 files changed
+15
-9
No files matched your search
@@ -47,7 +47,8 @@ from nanobot.providers.registry import ProviderModelSpec, find_by_name
|
||||
|
||||
DEFAULT_CODEX_URL = "https://chatgpt.com/backend-api/codex/responses"
|
||||
DEFAULT_OPENAI_CODEX_MODELS_URL = "https://chatgpt.com/backend-api/codex/models"
|
||||
OPENAI_CODEX_CATALOG_CLIENT_VERSION = "0.144.0"
|
||||
# The server gates model visibility by client version; older catalogs omit Astra.
|
||||
OPENAI_CODEX_CATALOG_CLIENT_VERSION = "0.153.4"
|
||||
DEFAULT_ORIGINATOR = "nanobot"
|
||||
_COMPACTION_RETAINED_CHAR_BUDGET = 256_000
|
||||
|
||||
|
||||
Reference in new issue
Block a user