16 writes to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
29AllowBackgroundResponses = other.AllowBackgroundResponses;
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatClientExtensionsTests.cs (2)
169AllowBackgroundResponses = true, 210AllowBackgroundResponses = true,
ChatCompletion\ChatOptionsTests.cs (2)
101options.AllowBackgroundResponses = true; 184options.AllowBackgroundResponses = true;
Microsoft.Extensions.AI.OpenAI.Tests (11)
OpenAIResponseClientIntegrationTests.cs (5)
201AllowBackgroundResponses = true, 233AllowBackgroundResponses = true, 264AllowBackgroundResponses = true, 285AllowBackgroundResponses = true, 327AllowBackgroundResponses = true,
OpenAIResponseClientTests.cs (6)
1841AllowBackgroundResponses = true, 1931AllowBackgroundResponses = true, 1981AllowBackgroundResponses = true, 2076AllowBackgroundResponses = true, 2162AllowBackgroundResponses = true, 2224AllowBackgroundResponses = true,
12 references to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (4)
ChatCompletion\ChatOptions.cs (2)
29AllowBackgroundResponses = other.AllowBackgroundResponses; 189/// This property is used for background responses that can be activated via the <see cref="AllowBackgroundResponses"/>
ChatCompletion\ChatResponse.cs (1)
93/// a continuation token if background responses are allowed in <see cref="ChatOptions.AllowBackgroundResponses"/>
ChatCompletion\ChatResponseUpdate.cs (1)
142/// a continuation token on each update if background responses are allowed in <see cref="ChatOptions.AllowBackgroundResponses"/>.
Microsoft.Extensions.AI.Abstractions.Tests (7)
ChatCompletion\ChatClientExtensionsTests.cs (4)
189Assert.Equal(expectedChatOptions.AllowBackgroundResponses, options.AllowBackgroundResponses); 229Assert.Equal(expectedChatOptions.AllowBackgroundResponses, options.AllowBackgroundResponses);
ChatCompletion\ChatOptionsTests.cs (3)
54Assert.Null(clone.AllowBackgroundResponses); 121Assert.True(options.AllowBackgroundResponses); 141Assert.True(clone.AllowBackgroundResponses);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
481result.BackgroundModeEnabled ??= options.AllowBackgroundResponses;