Trying to access the agent -> path visualisation, but it's returning An error occurred after clicking Agents -> path the trace is visible in the graph view, but this error occurs when clicking path specifically. This is the main visualisation feature that wanted me to have a look at Arize instead of LangSmith, so keen to hear how to get resolved. Cheers
for reference: it's a graph using LangChain / LangGraphs 1.0 release
also, the graph seems to stop the visualisation at the tool node, whereas there should be more steps I believe
馃敀[private user] acking, roping in 馃敀[private user] to help troubleshoot!
Hi Olle G., I'm the engineer for the agent visualization. What you're seeing with the missing END is the path actually looping back on itself. If you look verrrry closely, you can see the line from tools going back up to the summarize node with an arrow pointing to the top of that node. Unfortunately the visualization here isn't perfect but it's something we're working on. Given this loop, it is difficult for us to assume what constitutes the end of the agent flow. This loop is also the reason that the path view is broken. The sankey diagram that we use does not support circular paths, though we should have a more graceful error message. One thing we see with langgraph traces is that the instrumentation includes a lot of nodes called "agent" and "tools". Some of our customers requested that we filter these nodes out for them as it results in a lot of noise in the diagram, since these nodes are langgraph artifacts and are not business logic nodes. When I filter out these nodes in the vis, you can see that the graph does have an end node and that the sankey diagram is fixed. Would you like me to apply this filter for your account?
heres maybe a better view of the sankey diagram - I was able to prune the end nodes of the circular path. Let me know which visualization is more useful:
