hedgequantx 2.9.2 → 2.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/pages/ai-agents.js +1 -1
- package/src/pages/ai-models.js +1 -13
package/package.json
CHANGED
package/src/pages/ai-agents.js
CHANGED
|
@@ -34,8 +34,8 @@ const AI_PROVIDERS = [
|
|
|
34
34
|
{ id: 'iflow', name: 'iFlow (DeepSeek/GLM)', color: 'yellow', supportsOAuth: true, supportsApiKey: true },
|
|
35
35
|
// API Key only (no OAuth - uses LLM Proxy via LiteLLM)
|
|
36
36
|
{ id: 'minimax', name: 'MiniMax', color: 'magenta', supportsOAuth: false, supportsApiKey: true },
|
|
37
|
+
{ id: 'deepseek', name: 'DeepSeek', color: 'blue', supportsOAuth: false, supportsApiKey: true },
|
|
37
38
|
{ id: 'mistral', name: 'Mistral AI', color: 'yellow', supportsOAuth: false, supportsApiKey: true },
|
|
38
|
-
{ id: 'groq', name: 'Groq', color: 'cyan', supportsOAuth: false, supportsApiKey: true },
|
|
39
39
|
{ id: 'xai', name: 'xAI (Grok)', color: 'white', supportsOAuth: false, supportsApiKey: true },
|
|
40
40
|
{ id: 'openrouter', name: 'OpenRouter', color: 'gray', supportsOAuth: false, supportsApiKey: true },
|
|
41
41
|
];
|
package/src/pages/ai-models.js
CHANGED
|
@@ -16,8 +16,8 @@ const API_ENDPOINTS = {
|
|
|
16
16
|
openai: 'https://api.openai.com/v1/models',
|
|
17
17
|
google: 'https://generativelanguage.googleapis.com/v1beta/models',
|
|
18
18
|
minimax: null, // No /models API - uses MINIMAX_MODELS (see RULES.md exception)
|
|
19
|
+
deepseek: 'https://api.deepseek.com/v1/models',
|
|
19
20
|
mistral: 'https://api.mistral.ai/v1/models',
|
|
20
|
-
groq: 'https://api.groq.com/openai/v1/models',
|
|
21
21
|
xai: 'https://api.x.ai/v1/models',
|
|
22
22
|
openrouter: 'https://openrouter.ai/api/v1/models',
|
|
23
23
|
};
|
|
@@ -98,9 +98,7 @@ const getAuthHeaders = (providerId, apiKey) => {
|
|
|
98
98
|
case 'openai':
|
|
99
99
|
case 'deepseek':
|
|
100
100
|
case 'minimax':
|
|
101
|
-
case 'groq':
|
|
102
101
|
case 'xai':
|
|
103
|
-
case 'perplexity':
|
|
104
102
|
case 'openrouter':
|
|
105
103
|
case 'mistral':
|
|
106
104
|
return { 'Authorization': `Bearer ${apiKey}` };
|
|
@@ -237,16 +235,6 @@ const parseModelsResponse = (providerId, data) => {
|
|
|
237
235
|
}));
|
|
238
236
|
break;
|
|
239
237
|
|
|
240
|
-
case 'groq':
|
|
241
|
-
// Groq format: { data: [{ id, ... }] }
|
|
242
|
-
models = (data.data || [])
|
|
243
|
-
.filter(m => m.id && !shouldExcludeModel(m.id))
|
|
244
|
-
.map(m => ({
|
|
245
|
-
id: m.id,
|
|
246
|
-
name: m.id
|
|
247
|
-
}));
|
|
248
|
-
break;
|
|
249
|
-
|
|
250
238
|
case 'deepseek':
|
|
251
239
|
// DeepSeek format: { data: [{ id, ... }] } - OpenAI compatible
|
|
252
240
|
models = (data.data || [])
|