Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: add codex 5.2 context window (#8704)
Ari Webb2233d141b139
diff --git a/letta/constants.py b/letta/constants.pyindex 2eb39d09c..9d9c94fb7 100644--- a/letta/constants.py+++ b/letta/constants.py@@ -274,6 +274,7 @@ LLM_MAX_CONTEXT_WINDOW = {"gpt-5.2-2025-12-11": 272000,"gpt-5.2-pro": 272000,"gpt-5.2-pro-2025-12-11": 272000,+ "gpt-5.2-codex": 272000,# reasoners"o1": 200000,# "o1-pro": 200000, # responses API onlydiff --git a/tests/configs/llm_model_configs/openai-gpt-5.2-codex.json b/tests/configs/llm_model_configs/openai-gpt-5.2-codex.jsonnew file mode 100644index 000000000..c8a006170--- /dev/null+++ b/tests/configs/llm_model_configs/openai-gpt-5.2-codex.json@@ -0,0 +1,8 @@+{+ "context_window": 32000,+ "model": "gpt-5.2-codex",+ "model_endpoint_type": "openai",+ "model_endpoint": "https://api.openai.com/v1",+ "model_wrapper": null,+ "reasoning_effort": "low"+}