Skip to content

Conversation

@tzolov
Copy link
Contributor

@tzolov tzolov commented Dec 2, 2025

  • Add protected doInitializeLoop, doBeforeCall, and doAfterCall hooks to allow subclasses to customize the tool calling loop behavior.
  • Update Builder to support inheritance via self-referential generics.

- Add protected doInitializeLoop, doBeforeCall, and doAfterCall hooks
to allow subclasses to customize the tool calling loop behavior.
- Update Builder to support inheritance via self-referential generics.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov
Copy link
Contributor Author

tzolov commented Dec 2, 2025

This self-contained change can be ported to the 1.1.1 as well

@ilayaperumalg ilayaperumalg self-assigned this Dec 2, 2025
@tzolov tzolov merged commit 142f50b into spring-projects:main Dec 2, 2025
2 checks passed
tzolov added a commit that referenced this pull request Dec 2, 2025
- Add protected doInitializeLoop, doBeforeCall, and doAfterCall hooks
to allow subclasses to customize the tool calling loop behavior.
- Update Builder to support inheritance via self-referential generics.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov
Copy link
Contributor Author

tzolov commented Dec 2, 2025

backported to 1.1.x

ericbottard pushed a commit to ericbottard/spring-ai that referenced this pull request Dec 2, 2025
- Add protected doInitializeLoop, doBeforeCall, and doAfterCall hooks
to allow subclasses to customize the tool calling loop behavior.
- Update Builder to support inheritance via self-referential generics.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants