File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dotnet/src/IntegrationTests/Connectors/OpenAI Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
using Microsoft . SemanticKernel . TextGeneration ;
14
14
using OpenAI . Chat ;
15
15
using SemanticKernel . IntegrationTests . TestSettings ;
16
+ using xRetry ;
16
17
using Xunit ;
17
18
18
19
namespace SemanticKernel . IntegrationTests . Connectors . OpenAI ;
@@ -142,11 +143,11 @@ public async Task TextGenerationShouldReturnMetadataAsync()
142
143
Assert . Empty ( ( logProbabilityInfo as IReadOnlyList < ChatTokenLogProbabilityDetails > ) ! ) ;
143
144
}
144
145
145
- [ Fact ]
146
+ [ RetryFact ]
146
147
public async Task ChatCompletionWithWebSearchAsync ( )
147
148
{
148
149
// Arrange
149
- var kernel = this . CreateAndInitializeKernel ( modelIdOverride : "gpt-4o-mini- search-preview" ) ;
150
+ var kernel = this . CreateAndInitializeKernel ( modelIdOverride : "gpt-4o-search-preview" ) ;
150
151
var chatService = kernel . Services . GetRequiredService < IChatCompletionService > ( ) ;
151
152
var settings = new OpenAIPromptExecutionSettings
152
153
{
You can’t perform that action at this time.
0 commit comments