Skip to content

feat: add new callbacks to handle tool and model errors #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

feat: add new callbacks to handle tool and model errors

This CL add new callbacks in plugin system:

  • on_tool_error_callback
  • on_model_error_callback

This allow the user to create plugins that can handle errors.

@copybara-service copybara-service bot added the google-contributor [Bot] This PR is created by Google label Jul 15, 2025
@copybara-service copybara-service bot force-pushed the copybara/783052800 branch from c9609e4 to 781aeb9 Compare July 15, 2025 23:36
This CL add new callbacks in plugin system:
- `on_tool_error_callback`
- `on_model_error_callback`

This allow the user to create plugins that can handle errors.

PiperOrigin-RevId: 783052800
@copybara-service copybara-service bot force-pushed the copybara/783052800 branch from 781aeb9 to f27470c Compare July 15, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
google-contributor [Bot] This PR is created by Google
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant