You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by smokhasi August 8, 2025
I would like to the pass the tool call error message back to the LLM so that the LLM can correct itself. Is that possible?
Pydantic AI supports something similar using model retry
For example, I have a plugin generating sql queries which is then executed on the database and the sql query fails for some reason. I would like to be able to pass the sql error message back to the plugin responsible for generating sql queries to correct the sql query.