Skip to content

Conversation

@ilayaperumalg
Copy link
Member

@ilayaperumalg ilayaperumalg commented Jun 25, 2025

 - To fix the race condition with the default HTTP client used by the Azure OpenAIClient, switch to use OkHttpClient.
   More discussion on this here: Azure/azure-sdk-for-java#43583

 - Thanks to @Allamss for his suggestion here: Azure/azure-sdk-for-java#43583 (comment)

Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
@ilayaperumalg ilayaperumalg force-pushed the azure-openai-httpclient branch from 2f47a91 to e0fc136 Compare June 25, 2025 13:48
@sobychacko sobychacko merged commit a9fc130 into spring-projects:main Jun 25, 2025
2 checks passed
spring-builds pushed a commit that referenced this pull request Jun 25, 2025
- To fix the race condition with the default HTTP client used by the Azure OpenAIClient, switch to use OkHttpClient.
   More discussion on this here: Azure/azure-sdk-for-java#43583

 - Thanks to @Allamss for his suggestion here: Azure/azure-sdk-for-java#43583 (comment)

Fixes #3665

Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
(cherry picked from commit a9fc130)
@Allamss
Copy link

Allamss commented Jun 25, 2025

Hi @ilayaperumalg , the Azure OpenAI Inference SDK is now deprecated and won't receive updates. A basic migration guide is available in this folder. Future updates will focus on Azure types for the official OpenAI Java SDK.

@ilayaperumalg
Copy link
Member Author

@Allamss Thanks for the info.

scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
…jects#3665)

- To fix the race condition with the default HTTP client used by the Azure OpenAIClient, switch to use OkHttpClient.
   More discussion on this here: Azure/azure-sdk-for-java#43583

 - Thanks to @Allamss for his suggestion here: Azure/azure-sdk-for-java#43583 (comment)

Auto-cherry-pick to 1.0.x

Fixes spring-projects#3665

Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
…jects#3665)

- To fix the race condition with the default HTTP client used by the Azure OpenAIClient, switch to use OkHttpClient.
   More discussion on this here: Azure/azure-sdk-for-java#43583

 - Thanks to @Allamss for his suggestion here: Azure/azure-sdk-for-java#43583 (comment)

Auto-cherry-pick to 1.0.x

Fixes spring-projects#3665

Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants