Is there anyways for the langgraph react sdk client to view the tags or agent name associated with a message chunk #5073
AnhQuanTrl
started this conversation in
General
Replies: 1 comment
-
To be clear, what I'm suggesting is that the react SDK support the same functionality to |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, there is no ways for the UI to distinguish a message chunk from one agent to another in a multi agent set up. This makes it pretty hard sometimes to hide certain streams from some agents or augment the agent message with some UI (for example, messages from one agent might be wrapped in a small dialog instead of the main chat interface).
I know the tag
nostream
exist but its purpose is to hide the message to the frontend entirely. It would be better to send these tags to the UI and grant the UI ability to distinguish the messages from different agents.Beta Was this translation helpful? Give feedback.
All reactions