From fbe9b4fd72f3157b177237b131cbe208748c5f6b Mon Sep 17 00:00:00 2001 From: Fatih Karahan <65736358+Fatih0234@users.noreply.github.com> Date: Wed, 30 Sep 2026 05:29:45 +0000 Subject: [PATCH] fix(codex): avoid release-pinned model catalog filtering (#5984) Co-authored-by: chengyongru --- nanobot/providers/openai_codex_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nanobot/providers/openai_codex_provider.py b/nanobot/providers/openai_codex_provider.py index 6980112e6..162918952 100644 --- a/nanobot/providers/openai_codex_provider.py +++ b/nanobot/providers/openai_codex_provider.py @@ -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