Skip to content

Your lightweight open-source personal agent.

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

Fatih Karahanfbe9b4fd72f3
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