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

Merged
merged 1 commit into from
Jul 23, 2025

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 3 times, most recently from f27470c to 90360f4 Compare July 17, 2025 05:24
@copybara-service copybara-service bot force-pushed the copybara/783052800 branch from 90360f4 to a4a49ef Compare July 23, 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: 786469646
@copybara-service copybara-service bot force-pushed the copybara/783052800 branch from a4a49ef to 00afaaf Compare July 23, 2025 23:40
@copybara-service copybara-service bot merged commit 00afaaf into main Jul 23, 2025
@copybara-service copybara-service bot deleted the copybara/783052800 branch July 23, 2025 23:40
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