You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Description
When building the client using ChatClient.builder, if the .defaultOptions method is used, this client will be unable to call the tool. Environment
Spring AI version: 1.0.1, Java version: OpenJDK 17.0.11, I used Pinecone as the vector storage. Repro Steps
When creating the client, if I used the.defaultOptions, then this client will be unable to call the methods marked with @tool annotation. However, once I commented out the.defaultOptions method, the client can correctly call the tool.
My English is not very good. This feedback was machine-translated. Please forgive me.