Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
8e0a54d
1
Parent(s): e0e8f9a
feat: update models to MiniMax M2.5 (fireworks-ai) and Opus 4.6
Browse files
backend/routes/agent.py
CHANGED
|
@@ -37,15 +37,15 @@ router = APIRouter(prefix="/api", tags=["agent"])
|
|
| 37 |
|
| 38 |
AVAILABLE_MODELS = [
|
| 39 |
{
|
| 40 |
-
"id": "
|
| 41 |
-
"label": "
|
| 42 |
-
"provider": "
|
| 43 |
"recommended": True,
|
| 44 |
},
|
| 45 |
{
|
| 46 |
-
"id": "
|
| 47 |
-
"label": "
|
| 48 |
-
"provider": "
|
| 49 |
"recommended": True,
|
| 50 |
},
|
| 51 |
{
|
|
|
|
| 37 |
|
| 38 |
AVAILABLE_MODELS = [
|
| 39 |
{
|
| 40 |
+
"id": "anthropic/claude-opus-4-6",
|
| 41 |
+
"label": "Claude Opus 4.6",
|
| 42 |
+
"provider": "anthropic",
|
| 43 |
"recommended": True,
|
| 44 |
},
|
| 45 |
{
|
| 46 |
+
"id": "huggingface/fireworks-ai/MiniMaxAI/MiniMax-M2.5",
|
| 47 |
+
"label": "MiniMax M2.5",
|
| 48 |
+
"provider": "huggingface",
|
| 49 |
"recommended": True,
|
| 50 |
},
|
| 51 |
{
|
configs/main_agent_config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"model_name": "
|
| 3 |
"save_sessions": true,
|
| 4 |
"session_dataset_repo": "akseljoonas/hf-agent-sessions",
|
| 5 |
"yolo_mode": false,
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_name": "anthropic/claude-opus-4-6",
|
| 3 |
"save_sessions": true,
|
| 4 |
"session_dataset_repo": "akseljoonas/hf-agent-sessions",
|
| 5 |
"yolo_mode": false,
|
frontend/src/components/Chat/ChatInput.tsx
CHANGED
|
@@ -21,22 +21,22 @@ const getHfAvatarUrl = (modelId: string) => {
|
|
| 21 |
};
|
| 22 |
|
| 23 |
const MODEL_OPTIONS: ModelOption[] = [
|
| 24 |
-
{
|
| 25 |
-
id: 'minimax-m2.1',
|
| 26 |
-
name: 'MiniMax M2.1',
|
| 27 |
-
description: 'Via Novita',
|
| 28 |
-
modelPath: 'huggingface/novita/minimax/minimax-m2.1',
|
| 29 |
-
avatarUrl: getHfAvatarUrl('MiniMaxAI/MiniMax-M2.1'),
|
| 30 |
-
recommended: true,
|
| 31 |
-
},
|
| 32 |
{
|
| 33 |
id: 'claude-opus',
|
| 34 |
-
name: 'Claude Opus 4.
|
| 35 |
description: 'Anthropic',
|
| 36 |
-
modelPath: 'anthropic/claude-opus-4-
|
| 37 |
avatarUrl: 'https://huggingface.co/api/avatars/Anthropic',
|
| 38 |
recommended: true,
|
| 39 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
{
|
| 41 |
id: 'kimi-k2.5',
|
| 42 |
name: 'Kimi K2.5',
|
|
|
|
| 21 |
};
|
| 22 |
|
| 23 |
const MODEL_OPTIONS: ModelOption[] = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
{
|
| 25 |
id: 'claude-opus',
|
| 26 |
+
name: 'Claude Opus 4.6',
|
| 27 |
description: 'Anthropic',
|
| 28 |
+
modelPath: 'anthropic/claude-opus-4-6',
|
| 29 |
avatarUrl: 'https://huggingface.co/api/avatars/Anthropic',
|
| 30 |
recommended: true,
|
| 31 |
},
|
| 32 |
+
{
|
| 33 |
+
id: 'minimax-m2.5',
|
| 34 |
+
name: 'MiniMax M2.5',
|
| 35 |
+
description: 'Via Fireworks',
|
| 36 |
+
modelPath: 'huggingface/fireworks-ai/MiniMaxAI/MiniMax-M2.5',
|
| 37 |
+
avatarUrl: getHfAvatarUrl('MiniMaxAI/MiniMax-M2.5'),
|
| 38 |
+
recommended: true,
|
| 39 |
+
},
|
| 40 |
{
|
| 41 |
id: 'kimi-k2.5',
|
| 42 |
name: 'Kimi K2.5',
|