ai-chatbot
ai-chatbot copied to clipboard
Questions about OnResponse
I have known that I can do some operations with OnResponse callback. However, if my response is quite long, I also need to do some other operations in the procedure of the stream-type output. Is there any methods to implement this demand? Thanks
Pretty sure you can do this client side while streaming is happening. In Chatlist check if the message is the last message, and isLoading is true, and in that case modify the streamed output.