16 writes to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
30AllowBackgroundResponses = other.AllowBackgroundResponses;
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatClientExtensionsTests.cs (2)
169AllowBackgroundResponses = true, 210AllowBackgroundResponses = true,
ChatCompletion\ChatOptionsTests.cs (2)
104options.AllowBackgroundResponses = true; 195options.AllowBackgroundResponses = true;
Microsoft.Extensions.AI.OpenAI.Tests (11)
OpenAIResponseClientIntegrationTests.cs (5)
234AllowBackgroundResponses = true, 266AllowBackgroundResponses = true, 297AllowBackgroundResponses = true, 318AllowBackgroundResponses = true, 360AllowBackgroundResponses = true,
OpenAIResponseClientTests.cs (6)
2386AllowBackgroundResponses = true, 2476AllowBackgroundResponses = true, 2526AllowBackgroundResponses = true, 2621AllowBackgroundResponses = true, 2707AllowBackgroundResponses = true, 2769AllowBackgroundResponses = true,
12 references to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (4)
ChatCompletion\ChatOptions.cs (2)
30AllowBackgroundResponses = other.AllowBackgroundResponses; 196/// This property is used for background responses that can be activated via the <see cref="AllowBackgroundResponses"/>
ChatCompletion\ChatResponse.cs (1)
94/// a continuation token if background responses are allowed in <see cref="ChatOptions.AllowBackgroundResponses"/>
ChatCompletion\ChatResponseUpdate.cs (1)
166/// 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)
56Assert.Null(clone.AllowBackgroundResponses); 127Assert.True(options.AllowBackgroundResponses); 151Assert.True(clone.AllowBackgroundResponses);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
754result.BackgroundModeEnabled ??= options.AllowBackgroundResponses;