converse-mcp-server 1.14.3 → 1.14.4
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/providers/mistral.js +22 -22
- package/src/providers/xai.js +32 -0
package/package.json
CHANGED
package/src/providers/mistral.js
CHANGED
|
@@ -10,37 +10,37 @@ import { ProviderError, ErrorCodes, StopReasons } from './interface.js';
|
|
|
10
10
|
|
|
11
11
|
// Define supported Mistral models with their capabilities
|
|
12
12
|
const SUPPORTED_MODELS = {
|
|
13
|
-
'magistral-medium-
|
|
14
|
-
modelName: 'magistral-medium-
|
|
15
|
-
friendlyName: 'Magistral Medium',
|
|
16
|
-
contextWindow:
|
|
17
|
-
maxOutputTokens:
|
|
13
|
+
'magistral-medium-2509': {
|
|
14
|
+
modelName: 'magistral-medium-2509',
|
|
15
|
+
friendlyName: 'Magistral Medium 1.2',
|
|
16
|
+
contextWindow: 128000,
|
|
17
|
+
maxOutputTokens: 32768,
|
|
18
18
|
supportsStreaming: true,
|
|
19
|
-
supportsImages:
|
|
19
|
+
supportsImages: true, // Version 1.2 adds vision support
|
|
20
20
|
supportsTemperature: true,
|
|
21
21
|
supportsWebSearch: false,
|
|
22
22
|
supportsReasoning: true,
|
|
23
23
|
timeout: 300000,
|
|
24
|
-
description: 'Magistral Medium - Frontier-class reasoning model (
|
|
25
|
-
aliases: ['magistral-medium', 'magistral-medium-latest', 'magistral', 'magistral medium']
|
|
24
|
+
description: 'Magistral Medium 1.2 - Frontier-class reasoning model with vision support (September 2025)',
|
|
25
|
+
aliases: ['magistral-medium', 'magistral-medium-latest', 'magistral', 'magistral medium', 'magistral-medium-1.2']
|
|
26
26
|
},
|
|
27
|
-
'magistral-small-
|
|
28
|
-
modelName: 'magistral-small-
|
|
29
|
-
friendlyName: 'Magistral Small',
|
|
30
|
-
contextWindow:
|
|
31
|
-
maxOutputTokens:
|
|
27
|
+
'magistral-small-2509': {
|
|
28
|
+
modelName: 'magistral-small-2509',
|
|
29
|
+
friendlyName: 'Magistral Small 1.2',
|
|
30
|
+
contextWindow: 128000,
|
|
31
|
+
maxOutputTokens: 32768,
|
|
32
32
|
supportsStreaming: true,
|
|
33
|
-
supportsImages:
|
|
33
|
+
supportsImages: true, // Version 1.2 adds vision support
|
|
34
34
|
supportsTemperature: true,
|
|
35
35
|
supportsWebSearch: false,
|
|
36
36
|
supportsReasoning: true,
|
|
37
37
|
timeout: 180000,
|
|
38
|
-
description: 'Magistral Small - Small reasoning model (
|
|
39
|
-
aliases: ['magistral-small', 'magistral-small-latest', 'magistral small']
|
|
38
|
+
description: 'Magistral Small 1.2 - Small reasoning model with vision support (September 2025)',
|
|
39
|
+
aliases: ['magistral-small', 'magistral-small-latest', 'magistral small', 'magistral-small-1.2']
|
|
40
40
|
},
|
|
41
|
-
'mistral-medium-
|
|
42
|
-
modelName: 'mistral-medium-
|
|
43
|
-
friendlyName: 'Mistral Medium 3',
|
|
41
|
+
'mistral-medium-2508': {
|
|
42
|
+
modelName: 'mistral-medium-2508',
|
|
43
|
+
friendlyName: 'Mistral Medium 3.1',
|
|
44
44
|
contextWindow: 128000,
|
|
45
45
|
maxOutputTokens: 32768,
|
|
46
46
|
supportsStreaming: true,
|
|
@@ -48,8 +48,8 @@ const SUPPORTED_MODELS = {
|
|
|
48
48
|
supportsTemperature: true,
|
|
49
49
|
supportsWebSearch: false,
|
|
50
50
|
timeout: 300000,
|
|
51
|
-
description: 'Mistral Medium 3 - Frontier-class multimodal model (
|
|
52
|
-
aliases: ['mistral-medium-3', 'mistral-medium-latest', 'mistral-medium', 'mistral medium 3', 'mistral', 'medium-3']
|
|
51
|
+
description: 'Mistral Medium 3.1 - Frontier-class multimodal model with improved tone and performance (August 2025)',
|
|
52
|
+
aliases: ['mistral-medium-3.1', 'mistral-medium-latest', 'mistral-medium', 'mistral medium 3.1', 'mistral', 'medium-3.1', 'mistral-medium-3']
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -218,7 +218,7 @@ export const mistralProvider = {
|
|
|
218
218
|
*/
|
|
219
219
|
async invoke(messages, options = {}) {
|
|
220
220
|
const {
|
|
221
|
-
model = 'magistral-medium-
|
|
221
|
+
model = 'magistral-medium-2509',
|
|
222
222
|
temperature = 0.7,
|
|
223
223
|
maxTokens = null,
|
|
224
224
|
stream = false,
|
package/src/providers/xai.js
CHANGED
|
@@ -23,6 +23,38 @@ const SUPPORTED_MODELS = {
|
|
|
23
23
|
description: 'GROK-4 (256K context) - Latest advanced model from X.AI with image support and live search',
|
|
24
24
|
aliases: ['grok', 'grok4', 'grok-4', 'grok-4-latest', 'grok 4', 'grok 4 latest']
|
|
25
25
|
},
|
|
26
|
+
'grok-4-fast-reasoning': {
|
|
27
|
+
modelName: 'grok-4-fast-reasoning',
|
|
28
|
+
friendlyName: 'X.AI (Grok 4 Fast Reasoning)',
|
|
29
|
+
contextWindow: 2000000, // 2M tokens
|
|
30
|
+
maxOutputTokens: 2000000,
|
|
31
|
+
supportsStreaming: true,
|
|
32
|
+
supportsImages: true,
|
|
33
|
+
supportsTemperature: true,
|
|
34
|
+
supportsWebSearch: true,
|
|
35
|
+
supportsReasoning: true,
|
|
36
|
+
supportsFunctionCalling: true,
|
|
37
|
+
supportsStructuredOutputs: true,
|
|
38
|
+
timeout: 300000, // 5 minutes
|
|
39
|
+
description: 'GROK-4 Fast Reasoning (2M context) - Cost-efficient reasoning model with function calling and structured outputs',
|
|
40
|
+
aliases: ['grok-4-fast', 'grok-4-fast-reasoning-latest', 'grok 4 fast', 'grok 4 fast reasoning']
|
|
41
|
+
},
|
|
42
|
+
'grok-4-fast-non-reasoning': {
|
|
43
|
+
modelName: 'grok-4-fast-non-reasoning',
|
|
44
|
+
friendlyName: 'X.AI (Grok 4 Fast Non-Reasoning)',
|
|
45
|
+
contextWindow: 2000000, // 2M tokens
|
|
46
|
+
maxOutputTokens: 2000000,
|
|
47
|
+
supportsStreaming: true,
|
|
48
|
+
supportsImages: true,
|
|
49
|
+
supportsTemperature: true,
|
|
50
|
+
supportsWebSearch: true,
|
|
51
|
+
supportsReasoning: false,
|
|
52
|
+
supportsFunctionCalling: true,
|
|
53
|
+
supportsStructuredOutputs: true,
|
|
54
|
+
timeout: 300000, // 5 minutes
|
|
55
|
+
description: 'GROK-4 Fast Non-Reasoning (2M context) - Fast, cost-efficient model without reasoning for quick responses',
|
|
56
|
+
aliases: ['grok-4-fast-non-reasoning-latest', 'grok 4 fast non-reasoning']
|
|
57
|
+
},
|
|
26
58
|
'grok-code-fast-1': {
|
|
27
59
|
modelName: 'grok-code-fast-1',
|
|
28
60
|
friendlyName: 'X.AI (Grok Code Fast 1)',
|