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: Add model to context length mapping for gpt-4o-mini

Krishnakumar R (KK)d8a999887c36
diff --git a/letta/llm_api/azure_openai_constants.py b/letta/llm_api/azure_openai_constants.py
index 0ea1e5656..ba4248efe 100644
--- a/letta/llm_api/azure_openai_constants.py
+++ b/letta/llm_api/azure_openai_constants.py
@@ -6,5 +6,6 @@ AZURE_MODEL_TO_CONTEXT_LENGTH = {
"gpt-35-turbo-0125": 16385,
"gpt-4-0613": 8192,
"gpt-4o-mini-2024-07-18": 128000,
+ "gpt-4o-mini": 128000,
"gpt-4o": 128000,
}