faetalize / zodiac

A ⚡lightweight⚡ frontend for Google's Gemini Pro.
https://zodiac.faetalize.dev/
GNU General Public License v3.0
68 stars 18 forks source link

if the user messages twice then the app crashes #27

Closed Majboor closed 4 months ago

Majboor commented 6 months ago

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 6 months ago

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 5 months ago

yes, good catch. will be fixed in the next release (v0.1.4). coming up next week

faetalize commented 4 months ago

fixed

Majboor commented 3 months ago

did you happen to add chat history yet?