RemoteRunnable is not compatible with streamEvents when it's a RunnableSequence. #6807
errajibadr
started this conversation in
General
Replies: 2 comments
-
any update on the matter? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue with Streaming Responses from LangServe Endpoint in JavaScript
Hello LangChain.js community,
( i 'm not a js dev but need this for my frontend chatbot :) )
I'm experiencing an issue when trying to consume streaming responses from a LangServe endpoint using JavaScript. I have a working Python implementation, but I'm struggling to replicate the same functionality in JavaScript.
Context
localhost:8000
.graph.py
file.Current JavaScript Implementation
Here's a simplified version of my current JavaScript code:
The Issue
When I make a request that involves a tool call, I don't receive any content in the JavaScript implementation, whereas the Python version works fine.
For simple queries without tool calls, both implementations work as expected.
when i try an invoke i get all the graph node call in an object. the last object being the response.
Questions
RemoteRunnable
with LangServe endpoints that include tool calls?Any insights or suggestions would be greatly appreciated. Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions