Replies: 1 comment
-
+1 for this |
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
-
Checked
Feature request
It would be cool to be able to keep the track of the times langgraph passess through each node.
Motivation
When testing the langgraph I would like to check the amount of time I passed through a certain node (for optimization purposes).
Proposal (If applicable)
We could have a specific AgentState that already has an "iteration" field. This Field would be another Pydantic object that would have as many fields as nodes we have in the langraph. Then with a simple, wrapper (python decorator), we could add the +1 to the specific iterator, whenever the graph passes through a specific node.
Beta Was this translation helpful? Give feedback.
All reactions