Replies: 1 comment
-
Based on the code snippet you've provided and the context from the LangChain JS repository, it seems that the streaming functionality should be working as expected. The However, there have been similar issues reported in the repository, such as Streaming OpenAI Function Call output in LangChainStreaming and LangchainJs Streaming with OpenAIFunctions Agent. These discussions might provide some insights into the problem you're facing. One closed issue, Streaming stopped working since the latest version ( Unfortunately, I couldn't find specific changes in the LangChain JS version 0.1.28 that could potentially affect the streaming functionality, or the key differences between LangChain JS version 0.1.27 and 0.1.28. Also, there are no known issues or bugs related to the streaming functionality in LangChain JS version 0.1.27 in the repository. To better understand the issue, could you provide more details about the behavior you're observing? Specifically, are there any error messages or unusual logs when you try to stream? Also, could you share the version of the Sources
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
https://js.langchain.com/docs/modules/agents/how_to/agent_structured
For some reason agent executor does not want to stream response to LangChainStream and StreamingTextResponse.
Without streaming it works:
Beta Was this translation helpful? Give feedback.
All reactions