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)
229AllowBackgroundResponses = true, 261AllowBackgroundResponses = true, 292AllowBackgroundResponses = true, 313AllowBackgroundResponses = true, 355AllowBackgroundResponses = true,
OpenAIResponseClientTests.cs (6)
1970AllowBackgroundResponses = true, 2060AllowBackgroundResponses = true, 2110AllowBackgroundResponses = true, 2205AllowBackgroundResponses = true, 2291AllowBackgroundResponses = true, 2353AllowBackgroundResponses = 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)
165/// 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)
674result.BackgroundModeEnabled ??= options.AllowBackgroundResponses;