langchain icon indicating copy to clipboard operation
langchain copied to clipboard

feat: Custom errors fallback

Open yoschihirokaimoto opened this issue 10 months ago • 1 comments

yoschihirokaimoto avatar Mar 07 '25 21:03 yoschihirokaimoto

Hey @brainlid thanks for the review. This open by mistake, it suppose to be opened to our fork haha. I'm glad you liked, we are testing this in our app. The ideia is give control to tools so they can stop the chain and preserve the state. On some tools we have specific responses that we want to send instead of having the LLM process the rest. But it can be used to guardrails, abort, etc... Lets make a good version of it with tests and docs and have make the contribution 💪

CaiqueMitsuoka avatar Mar 14 '25 21:03 CaiqueMitsuoka