-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prebuilt createReactAgent can not work with streamEvents #623
Comments
What model are you using? |
It's trained By my company, just like ChatGPT. The llm class is based on @langchain/openai/ChatOpenAi, and I have only modified the input and output parameters of the API. So I think it's same as ChatGPT. By the way, since I don't have a ChatGPT API key, is there anyone who can help me try using ChatGPT or other models to see if there are any issues with createReactAgent and streamEvents? This way, I can figure out exactly where the problem lies. |
Can you double check this by calling |
Bug Report: Stream Events with ChatMessageChunk
Description
I am trying to implement a fully streaming call using
this.agentExecutor.stream(xxx)
(this is not fully streaming), and everything was working fine initially. However, after making the following changes:So, is there anyway to achieve Streaming LLM Tokens? I have been struggling with this issue for many days. ReactAgent without streaming is really terrible!!
The text was updated successfully, but these errors were encountered: