mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-18 19:04:27 -04:00
is it possible to include the path for stream_log? #179
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chip-davis on GitHub (May 14, 2024).
Hi! I was wondering if it is possible to include or exclude the path with stream_log. I know it consumes Runnable so the change would happen there but is there any workaround? I am trying to build a multi-step loader on my frontend.
For example:
I would love to be able to say include the path /logs/LangGraph/final_output. This is useful for me as some of the logs don't really have a name, tag, or type that I can reliably use to differentiate
@eyurtsev commented on GitHub (May 15, 2024):
Are you able to use astream_events interface instead?
@chip-davis commented on GitHub (May 15, 2024):
Ah, yes that works. Thanks!