17 writes to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
28AllowBackgroundResponses = other.AllowBackgroundResponses;
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatClientExtensionsTests.cs (2)
169AllowBackgroundResponses = true, 210AllowBackgroundResponses = true,
ChatCompletion\ChatOptionsTests.cs (3)
104options.AllowBackgroundResponses = true; 195options.AllowBackgroundResponses = true; 240AllowBackgroundResponses = true,
Microsoft.Extensions.AI.OpenAI.Tests (11)
OpenAIResponseClientIntegrationTests.cs (5)
358AllowBackgroundResponses = true, 390AllowBackgroundResponses = true, 421AllowBackgroundResponses = true, 442AllowBackgroundResponses = true, 484AllowBackgroundResponses = true,
OpenAIResponseClientTests.cs (6)
2880AllowBackgroundResponses = true, 2970AllowBackgroundResponses = true, 3020AllowBackgroundResponses = true, 3115AllowBackgroundResponses = true, 3201AllowBackgroundResponses = true, 3263AllowBackgroundResponses = true,
14 references to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (4)
ChatCompletion\ChatOptions.cs (2)
28AllowBackgroundResponses = other.AllowBackgroundResponses; 192/// 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 (9)
ChatCompletion\ChatClientExtensionsTests.cs (4)
189Assert.Equal(expectedChatOptions.AllowBackgroundResponses, options.AllowBackgroundResponses); 229Assert.Equal(expectedChatOptions.AllowBackgroundResponses, options.AllowBackgroundResponses);
ChatCompletion\ChatOptionsTests.cs (5)
56Assert.Null(clone.AllowBackgroundResponses); 127Assert.True(options.AllowBackgroundResponses); 151Assert.True(clone.AllowBackgroundResponses); 256Assert.True(result.AllowBackgroundResponses); 390Assert.True(result.AllowBackgroundResponses);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
975result.BackgroundModeEnabled ??= options.AllowBackgroundResponses;