Feature #3582
FE: Remember thread id
Status:
Closed
Priority:
Urgent
Assignee:
-
Start date:
06/02/2024
Due date:
% Done:
100%
Estimated time:
0.30 h
Description
In http://34.67.50.25/issues/3580, we receive a thread id that is reused. We need to remember this even on reload and across sessions.
Store <model, index, thread_id> in local storage and reuse it.
So, when user lands up on the page, check for thread id in local storage for the model and index and pass it to the call_openai_api GCF.
Note that page author provides model and index as parameters to the div.