fix(codex): avoid release-pinned model catalog filtering (#5984)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
1 parent
54d85059a5
commit
fbe9b4fd72
1 file changed
+2
-2
@@ -52,8 +52,8 @@ from nanobot.utils.helpers import estimate_prompt_tokens
|
|||||||
|
|
||||||
DEFAULT_CODEX_URL = "https://chatgpt.com/backend-api/codex/responses"
|
DEFAULT_CODEX_URL = "https://chatgpt.com/backend-api/codex/responses"
|
||||||
DEFAULT_OPENAI_CODEX_MODELS_URL = "https://chatgpt.com/backend-api/codex/models"
|
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.
|
# Avoid restricting model discovery to a pinned Codex client release.
|
||||||
OPENAI_CODEX_CATALOG_CLIENT_VERSION = "0.158.0"
|
OPENAI_CODEX_CATALOG_CLIENT_VERSION = "99.99.99"
|
||||||
DEFAULT_ORIGINATOR = "nanobot"
|
DEFAULT_ORIGINATOR = "nanobot"
|
||||||
_COMPACTION_RETAINED_CHAR_BUDGET = 256_000
|
_COMPACTION_RETAINED_CHAR_BUDGET = 256_000
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user