Skip to content

Use OkHttpClient for AzureOpenAiAudioTranscriptionModelIT #3665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

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.

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