Replies: 1 comment
-
🤖 Hey @sneko, nice to see you back here! Hope everything else has been going smoothly for you. The error This could be due to a few reasons:
To debug this issue, you could add error handling code in the Here's an example of how you could modify the MistralClient.prototype.chatStream = async function (input) {
// ... existing code ...
try {
const response = await this._sendRequest(input);
console.log('Response received:', response);
const parsedResponse = JSON.parse(response);
// ... existing code ...
} catch (error) {
console.error('Error parsing response:', error);
}
// ... existing code ...
}; Please note that this is just an example and the actual code might be different depending on the implementation of the If you're still facing this issue after trying these steps, please provide more details about your usage of the For more information about the For more information about the Sources
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using MistralAI with
chain.stream(...)
and randomly I get:It comes from the library itself, it's not one of my
JSON.parse
. I think my internet connection is stable enough... Any of you had this?Thank you,
Beta Was this translation helpful? Give feedback.
All reactions