Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: gpt-4.5-preview support (#1156)

Charles Packerba72ddd5a80c
diff --git a/letta/constants.py b/letta/constants.py
index b6fcb9736..95db4282e 100644
--- a/letta/constants.py
+++ b/letta/constants.py
@@ -95,6 +95,9 @@ LLM_MAX_TOKENS = {
"deepseek-chat": 64000,
"deepseek-reasoner": 64000,
## OpenAI models: https://platform.openai.com/docs/models/overview
+ # gpt-4.5-preview
+ "gpt-4.5-preview": 128000,
+ "gpt-4.5-preview-2025-02-27": 128000,
# "o1-preview
"chatgpt-4o-latest": 128000,
# "o1-preview-2024-09-12