langgraph/how-tos/node-retries/ #1175
Replies: 4 comments 4 replies
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Can I add the error message to the messages in the state? For example, if I get Pydantic Validation Error, it would be nice to add the message to the state, so the llm knows what to do better. |
Beta Was this translation helpful? Give feedback.
-
What if i have a JSONDecodeError? That inherits ValueError, and would be excluded. How could I retry on such an error? |
Beta Was this translation helpful? Give feedback.
-
Is using time travel/forking off graph states with errors with retry policies overkill? I believe that would lead to a lot of retries, increasing load and maybe leading to more issues instead, so I would like to know what would be the recommended approach overall, given I still see rewind/time travel mentioned in the documentation quite a bit (specifically when talking about human-in-the-loop). |
Beta Was this translation helpful? Give feedback.
-
langgraph/how-tos/node-retries/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/how-tos/node-retries/
Beta Was this translation helpful? Give feedback.
All reactions