if the user messages twice then the app crashes
Closed this issue · 4 comments
Majboor commented
Uncaught (in promise) Error: [400 ] Please ensure that multiturn requests ends with a user role or a function response.
at E (index.mjs:66:1)
at async A (index.mjs:99:1)
Majboor commented
This is due to google not supporting multiturn requests to avoid this, implementation of hiding the send button until there is a response is best, due to the multiturn requests error I think the app also crashes random loadings, I tried some times
faetalize commented
yes, good catch. will be fixed in the next release (v0.1.4). coming up next week
faetalize commented
fixed
Majboor commented
did you happen to add chat history yet?