Commit a9fc130
authored
Use OkHttpClient for AzureOpenAiAudioTranscriptionModelIT (#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 #3665
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>1 parent d92a2ea commit a9fc130
File tree
2 files changed
+21
-1
lines changed- models/spring-ai-azure-openai
- src/test/java/org/springframework/ai/azure/openai
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
94 | 106 | | |
95 | | - | |
| 107 | + | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
| |||
0 commit comments