Open jdubois opened 1 week ago
Thanks for filing this issue @jdubois, I believe this is the same issue as https://github.com/Azure/azure-sdk-for-java/issues/41164.
FYI @mssfang, @jpalvarezl
I raised a similar and likely related defect in the Langchain4j project - https://github.com/langchain4j/langchain4j/issues/1848,
Describe the bug I'm using azure-ai-inference_1.0.0-beta.1.
When I use
ChatCompletionsAsyncClient
, I got correct answers but there are several log messages that indicates there are errors going underneath.Here are some of the logs from the sample that I share below:
Exception or Stack Trace
There is no stack trace, only the logs shared above.
To Reproduce To reproduce this issue, execute the following code: https://github.com/jdubois/langchain4j-examples/blob/f6932500e8e61abbef15d02e6de8af7e2cfdcb29/github-models-examples/src/main/java/GitHubModelsStreamingChatModelExamples.java#L14
If you want to test the whole example, it's in this branch https://github.com/jdubois/langchain4j-examples/tree/azure-sdk-for-java-issue-2 that I created for this issue.
Code Snippet The code is at https://github.com/jdubois/langchain4j-examples/blob/f6932500e8e61abbef15d02e6de8af7e2cfdcb29/github-models-examples/src/main/java/GitHubModelsStreamingChatModelExamples.java#L14
Expected behavior There should not errors in the logs.
Setup (please complete the following information):
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report