fix(codex): avoid release-pinned model catalog filtering (#5984)

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
Fatih Karahanandchengyongru authored and GitHub committed 2026-09-30 13:29:45 +08:00
1 parent 54d85059a5
commit fbe9b4fd72
1 file changed
+2 -2
+2 -2
View File
@@ -52,8 +52,8 @@ from nanobot.utils.helpers import estimate_prompt_tokens
DEFAULT_CODEX_URL = "https://chatgpt.com/backend-api/codex/responses"
DEFAULT_OPENAI_CODEX_MODELS_URL = "https://chatgpt.com/backend-api/codex/models"
# The server gates model visibility by client version; older catalogs omit GPT-6 Sol/Luna.
OPENAI_CODEX_CATALOG_CLIENT_VERSION = "0.158.0"
# Avoid restricting model discovery to a pinned Codex client release.
OPENAI_CODEX_CATALOG_CLIENT_VERSION = "99.99.99"
DEFAULT_ORIGINATOR = "nanobot"
_COMPACTION_RETAINED_CHAR_BUDGET = 256_000