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.
Comment From: sunyuhan1998
Hi @ylxfh , thank you for your report. I think this issue should be the same as #3392, which is currently being addressed in PR #3417.