Closed Demiourgos87 closed 4 days ago
Hi there, same problem on my side as well, any solution for this? or workaround ?
Hi @Demiourgos87 @ognjenAct Thanks for raising this issue. I'm investigating.
observer.complete()
when the stream is completed?Hello @salmenus, thank you for the quick response. I am using the chat adapter from @nlux/langchain-react package, so no custom adapters.
I forked one of the examples, here it is: https://codesandbox.io/s/priceless-poitras-q9frn7?file=/App.tsx
If you open the console, you will notice the issue I am facing, there is no log for messageRendered.
Got it. Thanks for the reproducible example. I'm working on a fix @Demiourgos87
Issue fixed in version 2.12.2
β
Please that the full message ( event. message
property ) will only be passed to the message received.
The message rendered only gets the UI. But it's consistent between the 2 events.
Thank you for the quick update, keep up the good work!
When trying to access the event messageRendered in AiChat component, it does not work. The messageReceived works for example.
Also noticed in the nlux-core.d.ts, line 640:
although the MessageRenderedCallback type exists.