Spaces:
Running
Running
Update apps/format.js
Browse files- apps/format.js +2 -2
apps/format.js
CHANGED
|
@@ -119,8 +119,8 @@ router.post('/generate', async (req, res) => {
|
|
| 119 |
// 💡 Map frontend model IDs to your actual ai_engine identifiers
|
| 120 |
const MODEL_MAP = {
|
| 121 |
'seed': 'bytedance-1.6',
|
| 122 |
-
'mistral': 'mistral', // Update this to your actual Mistral engine ID if different
|
| 123 |
-
'grok': 'grok' // Update this to your actual Grok engine ID if different
|
| 124 |
};
|
| 125 |
|
| 126 |
const modelToUse = MODEL_MAP[model] || MODEL_MAP['seed'];
|
|
|
|
| 119 |
// 💡 Map frontend model IDs to your actual ai_engine identifiers
|
| 120 |
const MODEL_MAP = {
|
| 121 |
'seed': 'bytedance-1.6',
|
| 122 |
+
'mistral': 'mistral-small', // Update this to your actual Mistral engine ID if different
|
| 123 |
+
'grok': 'grok-4.3' // Update this to your actual Grok engine ID if different
|
| 124 |
};
|
| 125 |
|
| 126 |
const modelToUse = MODEL_MAP[model] || MODEL_MAP['seed'];
|