When setting spring.ai.chat.client.tool-search-advisor.enabled to true, tool searching does not execute. Reviewing logs via SimpleLoggerAdvisor reveals only two request/response pairs instead of the expected three (where the first request should only include the tool search tool). Auto-configuration fails due to the lack of a ToolCallingManager, even though the conditionals report indicates the bean is supposed to be created and the application context can provide one if requested.
Spring AI 2.0.0 GA
Auto-configuration for the tool calling advisor (ToolCallingAdvisorAutoConfiguration#toolCallingAdvisorBuilder) fails to properly locate or inject the ToolCallingManager bean during initialization. This prevents the tool search functionality from activating automatically through the provided properties.
Targeted to be fixed in release 2.0.1.