-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.status: help wantedStatus: Unplanned work open to contributions from the community.Status: Unplanned work open to contributions from the community.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Prerequisites
- Search the current open issues
Question
Using the toolbox langchain (with mysql mcp), when the parameter is wrong parse, how to introduce the error handling for the tools, lets the model retry parsing and call the tool again ?
(Currently, when the parameter is wrong, i will search the similar value from db, and wrap it as the tool message, but how to make the model call tool again with the correct value ?)
refer:
https://docs.langchain.com/oss/python/langgraph/thinking-in-langgraph#llm-recoverable
Code
No response
Additional Details
No response
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.status: help wantedStatus: Unplanned work open to contributions from the community.Status: Unplanned work open to contributions from the community.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.