You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if a chat is created via the API but not prepared, it can lead to an intermediate state where the chat appears empty and unprepared in the UI. This situation arises because creating a chat through the API is a two-step process:
In the UI, these steps are performed back-to-back, ensuring the user is not left in an intermediate state. However, if the UI is started after creating the chat via the API and the chat has not been prepared, the user will see an empty chat that is unprepared and can further cause errors while handling the chats.
Proposed Solution
Automatic preparation: Implement functionality in the UI to detect when an unprepared chat is selected and trigger the preparation process automatically.
Value and/or benefit
Automatically handling unprepared chats in the UI prevents errors and improves UX
Feature description
Currently, if a chat is created via the API but not prepared, it can lead to an intermediate state where the chat appears empty and unprepared in the UI. This situation arises because creating a chat through the API is a two-step process:
Creating the chat:
ragna/scripts/add_chats.py
Lines 51 to 64 in 55f7fc5
Preparing the chat:
ragna/scripts/add_chats.py
Line 66 in 55f7fc5
In the UI, these steps are performed back-to-back, ensuring the user is not left in an intermediate state. However, if the UI is started after creating the chat via the API and the chat has not been prepared, the user will see an empty chat that is unprepared and can further cause errors while handling the chats.
Proposed Solution
Automatic preparation: Implement functionality in the UI to detect when an unprepared chat is selected and trigger the preparation process automatically.
Value and/or benefit
Automatically handling unprepared chats in the UI prevents errors and improves UX
Anything else?
Originally been discussed by @pmeier in 445#comment
The text was updated successfully, but these errors were encountered: