Skip to content

refactor: remove inter package dependency cycles in spring-ai-model #3042

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

Closed
wants to merge 1 commit into from

Conversation

markpollack
Copy link
Member

Remove circular dependencies:

Move utility classes from various packages to dedicated support packages:

  • Move ToolCallbacks from ai.tool to ai.support
  • Move UsageUtils to UsageCalculator in ai.support
  • Move tool.util to tool.support
  • Create new ToolDefinitions utility class

Support packages for the classes in question is more idomatic in spring than util packages.

Remove circular dependencies:

Move utility classes from various packages to dedicated support packages:
- Move ToolCallbacks from ai.tool to ai.support
- Move UsageUtils to UsageCalculator in ai.support
- Move tool.util to tool.support
- Create new ToolDefinitions utility class

Support packages for the classes in question is more idomatic in spring than util packages.

Signed-off-by: Mark Pollack <mark.pollack@broadcom.com>
@ilayaperumalg ilayaperumalg self-assigned this May 8, 2025
@ilayaperumalg ilayaperumalg added this to the 1.0.0-RC1 milestone May 8, 2025
@ilayaperumalg
Copy link
Member

Rebased and merged as ebfa5b9

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