Closed qhl100 closed 2 weeks ago
We can no longer reproduce this issue, which suggests it may have been resolved. We have implemented a test that exactly matches your code, and it runs successfully: https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-azure-openai/src/test/java/org/springframework/ai/azure/openai/function/AzureOpenAiChatModelFunctionCallIT.java#L147.
The fix may have been implemented in this commit, where we upgraded the Azure client to the latest version: https://github.com/spring-projects/spring-ai/commit/61a56db98b7d25969ba2b1c985a048a50c5c2a9f
I'm closing this issue. Please feel free to reopen it if you continue to experience problems, and include additional context about the issue.
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