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
I want to inform the user about the progress or status updates from the middleware directly in the chat UI. For instance, when the middleware is processing, the UI should indicate that something is happening.
Is there anything built in that i can use to achieve that?
I tried doing something like this:
messages.push({role: 'assistant',content: [{type: 'text',text: 'Classifying your message...'}]})
this pushes the messages into the API call but does not reflect the added messages in the UI.
Any advice or help would be very much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
I want to inform the user about the progress or status updates from the middleware directly in the chat UI. For instance, when the middleware is processing, the UI should indicate that something is happening.
Is there anything built in that i can use to achieve that?
I tried doing something like this:
this pushes the messages into the API call but does not reflect the added messages in the UI.
Any advice or help would be very much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: