Please do a quick search on Github issues first, there might be already a duplicate issue for the one you are about to create. If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:
Bug description
Environment Please provide as many details as possible: Spring AI version, Java version, which vector store you use if any, etc
Steps to reproduce Steps to reproduce the issue.
Expected behavior A clear and concise description of what you expected to happen.
Minimal Complete Reproducible example Please provide a failing test or a minimal complete verifiable example that reproduces the issue. Bug reports that are reproducible will take priority in resolution over reports that are not reproducible.
Comment From: markpollack
I am not sure how you got this error, it would seem like you included two autoconfigurations in your application. That results in two instances of AiClient. In this case, you should disable autoconfiguration and create the AiClient implementations yourself with appropriate qualifiers.
Comment From: markpollack
Please reopen the issue if this did not solve your concern.