20 writes to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatOptions.cs (1)
28AllowBackgroundResponses = other.AllowBackgroundResponses;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ChatOptions.g.cs (1)
381Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.ChatOptions)obj).AllowBackgroundResponses = value!,
Microsoft.Extensions.AI.Abstractions.Tests (6)
ChatCompletion\ChatClientExtensionsTests.cs (2)
169AllowBackgroundResponses = true, 210AllowBackgroundResponses = true,
ChatCompletion\ChatOptionsTests.cs (3)
104options.AllowBackgroundResponses = true; 195options.AllowBackgroundResponses = true; 240AllowBackgroundResponses = true,
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.ChatOptions.g.cs (1)
379Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.ChatOptions)obj).AllowBackgroundResponses = value!,
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,
Microsoft.Extensions.AI.Tests (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.ChatOptions.g.cs (1)
379Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.ChatOptions)obj).AllowBackgroundResponses = value!,
20 references to AllowBackgroundResponses
Microsoft.Extensions.AI.Abstractions (6)
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"/>.
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ChatOptions.g.cs (2)
380Getter = static obj => ((global::Microsoft.Extensions.AI.ChatOptions)obj).AllowBackgroundResponses, 555bool? __value_AllowBackgroundResponses = ((global::Microsoft.Extensions.AI.ChatOptions)value).AllowBackgroundResponses;
Microsoft.Extensions.AI.Abstractions.Tests (11)
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);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.ChatOptions.g.cs (2)
378Getter = static obj => ((global::Microsoft.Extensions.AI.ChatOptions)obj).AllowBackgroundResponses, 553bool? __value_AllowBackgroundResponses = ((global::Microsoft.Extensions.AI.ChatOptions)value).AllowBackgroundResponses;
Microsoft.Extensions.AI.OpenAI (1)
OpenAIResponsesChatClient.cs (1)
972result.BackgroundModeEnabled ??= options.AllowBackgroundResponses;
Microsoft.Extensions.AI.Tests (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestJsonSerializerContext.ChatOptions.g.cs (2)
378Getter = static obj => ((global::Microsoft.Extensions.AI.ChatOptions)obj).AllowBackgroundResponses, 494global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.ChatOptions)value).AllowBackgroundResponses, NullableBoolean);