SkywardAI / rebel

This is the UI for SkywardAI APIs aggregator, written in native javascript.
https://frontend-js-fqn1.onrender.com
0 stars 0 forks source link

[issue]: The name of chat history should be save into the db #38

Closed Aisuko closed 1 month ago

Aisuko commented 1 month ago

We should invoke this API to save/update session name. However, if we change the session tab or create new session while the streaming response in the process. The save or update will failed. See the issues with bug labels.

So, when we should save the first question[:20] as session name is important. I think we can save it after user input the question rather than save it after all the stream finished.

Screenshot 2024-07-14 at 5 32 34 PM

cbh778899 commented 1 month ago

fixed by #40