Skip to content

Conversation

@geoand
Copy link
Collaborator

@geoand geoand commented Dec 10, 2025

This is done by introducing support for @HandleToolExecutionError and @HandleToolArgumentError

@geoand geoand requested a review from a team as a code owner December 10, 2025 16:10
@quarkus-bot

This comment has been minimized.

@geoand geoand force-pushed the #2008 branch 2 times, most recently from 2bd57fb to 2628892 Compare December 10, 2025 19:03
This is done by introducing support for `@HandleToolExecutionError`
and `@HandleToolArgumentError`

Closes: #2008
@quarkus-bot

This comment has been minimized.

@quarkus-bot
Copy link

quarkus-bot bot commented Dec 10, 2025

Status for workflow Build (on pull request)

This is the status report for running Build (on pull request) on commit fdd35d9.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@geoand geoand requested a review from cescoffier December 11, 2025 06:17
@cescoffier cescoffier changed the title Align with upstream LangChai4j error handling Align with upstream LangChain4j error handling Dec 11, 2025
Copy link
Collaborator

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I've 2 small questions:

  • how does it work with metrics - I don't believe it should changes anything (a failure is a failure)
  • are guardrail call before or after the handler? guardrail can change the result or decide to fail the call.

@geoand
Copy link
Collaborator Author

geoand commented Dec 11, 2025

how does it work with metrics - I don't believe it should changes anything (a failure is a failure)

Nothing should change

are guardrail call before or after the handler? guardrail can change the result or decide to fail the call.

Nothing should change WRT guardails

@geoand geoand merged commit 81b0d71 into main Dec 11, 2025
81 checks passed
@geoand geoand deleted the #2008 branch December 11, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for custom Tool error handlers

3 participants