Skip to content

Move advisors to their proper modules#6309

Merged
sdeleuze merged 2 commits into
spring-projects:mainfrom
sdeleuze:advisors-refactoring
Jun 5, 2026
Merged

Move advisors to their proper modules#6309
sdeleuze merged 2 commits into
spring-projects:mainfrom
sdeleuze:advisors-refactoring

Conversation

@sdeleuze
Copy link
Copy Markdown
Contributor

@sdeleuze sdeleuze commented Jun 5, 2026

  • Rename spring-ai-advisors-vector-store to spring-ai-vector-store-advisor
  • Move ToolSearchToolCallingAdvisor to a spring-ai-tool-search-advisor module

@sdeleuze sdeleuze added this to the 2.0.0-RC1 milestone Jun 5, 2026
@sdeleuze sdeleuze added enhancement New feature or request advisors labels Jun 5, 2026
To be consistent with other module and conventions.

See spring-projects#6309
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
sdeleuze added a commit to sdeleuze/spring-ai that referenced this pull request Jun 5, 2026
…module

Its package also changes from org.springframework.ai.tool.toolsearch.advisor to
org.springframework.ai.chat.client.advisor.toolsearch.

Closes spring-projects#6309
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
sdeleuze added a commit to sdeleuze/spring-ai that referenced this pull request Jun 5, 2026
This commit moves TOOL_SEARCH_TOOL_SESSION_ID_KEY from ToolSearchToolCallingAdvisor
to ToolSearchTool to avoid a circular dependency issue.

Its package also changes from org.springframework.ai.tool.toolsearch.advisor to
org.springframework.ai.chat.client.advisor.toolsearch.

Closes spring-projects#6309
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
@sdeleuze sdeleuze force-pushed the advisors-refactoring branch from b5722c8 to 1254c54 Compare June 5, 2026 12:22
This commit moves TOOL_SEARCH_TOOL_SESSION_ID_KEY from ToolSearchToolCallingAdvisor
to ToolSearchTool to avoid a circular dependency issue.

Its package also changes from org.springframework.ai.tool.toolsearch.advisor to
org.springframework.ai.chat.client.advisor.toolsearch.

Closes spring-projects#6309
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
@sdeleuze sdeleuze force-pushed the advisors-refactoring branch from 1254c54 to d1df0ae Compare June 5, 2026 12:23
@sdeleuze sdeleuze requested a review from tzolov June 5, 2026 12:23
Copy link
Copy Markdown
Contributor

@tzolov tzolov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @sdeleuze

@sdeleuze sdeleuze assigned sdeleuze and unassigned tzolov Jun 5, 2026
@sdeleuze sdeleuze merged commit e0bb6ad into spring-projects:main Jun 5, 2026
5 of 7 checks passed
sdeleuze added a commit that referenced this pull request Jun 5, 2026
To be consistent with other module and conventions.

See #6309
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

advisors enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants