How do I pass session id in when using @chain #161

Closed
opened 2026-02-16 00:19:03 -05:00 by yindo · 2 comments
Owner

Originally created by @1100111GTH on GitHub (Apr 9, 2024).

CleanShot 2024-04-07 at 11 20 26
CleanShot 2024-04-07 at 11 21 14

Langserve return runnable object, and i .stream it on the client, but can't find id

Originally created by @1100111GTH on GitHub (Apr 9, 2024). ![CleanShot 2024-04-07 at 11 20 26](https://github.com/langchain-ai/langserve/assets/154310050/55f3dd83-792e-4b24-8a0e-81dfc8f5c3b9) ![CleanShot 2024-04-07 at 11 21 14](https://github.com/langchain-ai/langserve/assets/154310050/16032fbb-e581-4a3c-b830-089299b728e9) Langserve return runnable object, and i .stream it on the client, but can't find id
yindo closed this issue 2026-02-16 00:19:04 -05:00
Author
Owner

@1100111GTH commented on GitHub (Apr 9, 2024):

i am not sure what kind object type bing send with invoke two dict, so may be may source: Dict problem, but i don't know how to fix it

@1100111GTH commented on GitHub (Apr 9, 2024): i am not sure what kind object type bing send with invoke two dict, so may be may source: Dict problem, but i don't know how to fix it
Author
Owner

@eyurtsev commented on GitHub (Apr 12, 2024):

I suspect that configuration isn't propagated to the @chain

Could you paraphrase the code to use a runnable sequence and serve that?

If you're able to share minimal reproducible code (with imports etc.), so i can copy and paste and get it working, it'll be easier for me to help

@eyurtsev commented on GitHub (Apr 12, 2024): I suspect that configuration isn't propagated to the `@chain` Could you paraphrase the code to use a runnable sequence and serve that? If you're able to share minimal reproducible code (with imports etc.), so i can copy and paste and get it working, it'll be easier for me to help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#161