converse-mcp-server 1.5.0 → 1.5.1
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 +1 -1
package/package.json
CHANGED
package/src/providers/mistral.js
CHANGED
|
@@ -151,7 +151,7 @@ function convertMessagesToMistral(messages) {
|
|
|
151
151
|
// Convert Anthropic/Claude format to Mistral format
|
|
152
152
|
mistralContent.push({
|
|
153
153
|
type: 'image_url',
|
|
154
|
-
|
|
154
|
+
imageUrl: `data:${item.source.media_type};base64,${item.source.data}`
|
|
155
155
|
});
|
|
156
156
|
debugLog(`[Mistral] Converting image: ${item.source.media_type}, data length: ${item.source.data.length}`);
|
|
157
157
|
}
|