Skip to content

Conversation

tzolov
Copy link
Contributor

@tzolov tzolov commented May 10, 2025

  • Enhance MethodToolCallback to properly handle generic types by using parameterized types
  • Add unit tests for generic type handling (List, Map<String,Integer>, nested generics)
  • Add integration tests for both Anthropic and OpenAI clients to verify tool calls with generic argument types

Resolves #2462

- Enhance MethodToolCallback to properly handle generic types by using parameterized types
- Add unit tests for generic type handling (List, Map<String,Integer>, nested generics)
- Add integration tests for both Anthropic and OpenAI clients to verify tool calls with generic argument types

Resolves spring-projects#2462

Signed-off-by: Christian Tzolov <[email protected]>
@tzolov tzolov added this to the 1.0.0-RC1 milestone May 10, 2025
@markpollack markpollack self-assigned this May 10, 2025
@markpollack
Copy link
Member

merged in 5f6c618

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.

MethodToolCallback: Incorrect Deserialization of List<T> with Class<?>
2 participants