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.
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.