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 minimax m2.7 (#10093)

Ari Webb128e96f5a890
diff --git a/letta/schemas/providers/minimax.py b/letta/schemas/providers/minimax.py
index 28e836813..3e3541f72 100644
--- a/letta/schemas/providers/minimax.py
+++ b/letta/schemas/providers/minimax.py
@@ -38,6 +38,12 @@ MODEL_LIST = [
"max_output": 128000,
"description": "Peak Performance. Ultimate Value. Master the Complex",
},
+ {
+ "name": "MiniMax-M2.7",
+ "context_window": 200000,
+ "max_output": 128000,
+ "description": "Latest model.",
+ },
]
diff --git a/tests/test_providers.py b/tests/test_providers.py
index 66f8e5b5a..d9d23a8e5 100644
--- a/tests/test_providers.py
+++ b/tests/test_providers.py
@@ -144,8 +144,8 @@ 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, M2.5
- assert len(models) == 4
+ # Should have exactly 3 models: M2.1, M2.1-lightning, M2, M2.5, M2.7
+ assert len(models) == 5
# Verify model properties
model_names = {m.model for m in models}