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
The text was updated successfully, but these errors were encountered: