sendMessageStream with history failing to fetch due to 'empty text parameter' #286
Labels
component:js sdk
Issue/PR related to JavaScript SDK
status:triaged
Issue/PR triaged to the corresponding sub-team
type:help
Support-related issues
Description of the bug:
Hi!
I've got quite a basic setup for this error, I'm using Vue.
Setup is as follows;
I'm then just calling sendMessage with an updated
question.value
. When I look at the history, I can see that the model has an empty text part which could be the issue, but I'm not entirely sure!Actual vs expected behavior:
Error output instead of an updated generatedText
Any other information you'd like to share?
Possible history culprit
Edit: I noticed that I have
${JSON.stringify(products.value)}
in the example, but even without it I'm still getting the same error, let me know if you need a minimal repro.The text was updated successfully, but these errors were encountered: