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.

fix: add m2.5 (#9480)

Ari Webb5faec5632ff4
diff --git a/letta/schemas/providers/minimax.py b/letta/schemas/providers/minimax.py
index 488c578e8..097ca5d4d 100644
--- a/letta/schemas/providers/minimax.py
+++ b/letta/schemas/providers/minimax.py
@@ -32,6 +32,12 @@ MODEL_LIST = [
"max_output": 128000,
"description": "Agentic capabilities, advanced reasoning",
},
+ {
+ "name": "MiniMax-M2.5",
+ "context_window": 200000,
+ "max_output": 128000,
+ "description": "Peak Performance. Ultimate Value. Master the Complex",
+ },
]
diff --git a/tests/test_providers.py b/tests/test_providers.py
index cb5110b5f..a7ab5830a 100644
--- a/tests/test_providers.py
+++ b/tests/test_providers.py
@@ -144,14 +144,15 @@ async def test_minimax():
provider = MiniMaxProvider(name="minimax")
models = await provider.list_llm_models_async()
- # Should have exactly 3 models: M2.1, M2.1-lightning, M2
- assert len(models) == 3
+ # Should have exactly 3 models: M2.1, M2.1-lightning, M2, M2.5
+ assert len(models) == 4
# Verify model properties
model_names = {m.model for m in models}
assert "MiniMax-M2.1" in model_names
assert "MiniMax-M2.1-lightning" in model_names
assert "MiniMax-M2" in model_names
+ assert "MiniMax-M2.5" in model_names
# Verify handle format
for model in models: