24 writes to InformationalOnly
Microsoft.Extensions.AI (6)
ChatCompletion\FunctionInvokingChatClient.cs (6)
956fcc.InformationalOnly = true; 1001functionCallContents[i].InformationalOnly = true; 1198result.CallContent.InformationalOnly = true; 1564m.ResponseFunctionCallContent.InformationalOnly = true; 1565_ = m.RequestFunctionCallContent?.InformationalOnly = true; 1834_ = approval.RequestFunctionCallContent?.InformationalOnly = true;
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
122Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly = value!,
Microsoft.Extensions.AI.Abstractions.Tests (4)
Contents\FunctionCallContentTests.cs (3)
77c.InformationalOnly = true; 89InformationalOnly = informationalOnly 148var original = new FunctionCallContent("callId1", "functionName") { InformationalOnly = informationalOnly };
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (1)
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly = value!,
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
122Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly = value!,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
122Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly = value!,
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (1)
ScenarioRunResultTests.cs (1)
224InformationalOnly = true
Microsoft.Extensions.AI.Stabilization.Tests (1)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.FunctionCallContent.g.cs (1)
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly = value!,
Microsoft.Extensions.AI.Tests (9)
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (4)
946var response1Fcc = new FunctionCallContent("callId1", "Func1") { InformationalOnly = true }; 1644var alreadyProcessedFunctionCall = new FunctionCallContent("callId1", "Func1") { InformationalOnly = true }; 2100InformationalOnly = fcc.InformationalOnly 2159fcc.InformationalOnly = true;
ChatCompletion\FunctionInvokingChatClientTests.cs (4)
2033var alreadyProcessedFunctionCall = new FunctionCallContent("callId1", "Func1") { InformationalOnly = true }; 2085var needsProcessing = new FunctionCallContent("callId1", "Func1") { InformationalOnly = false }; 2086var alreadyProcessed = new FunctionCallContent("callId2", "Func2") { InformationalOnly = true }; 2331InformationalOnly = fcc.InformationalOnly,
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (1)
120Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly = value!,
43 references to InformationalOnly
Microsoft.AspNetCore.Components.AI (1)
Pipeline\UIActionHandler.cs (1)
27!call.InformationalOnly &&
Microsoft.Extensions.AI (12)
ChatCompletion\FunctionInvokingChatClient.cs (12)
870c is ToolApprovalRequestContent { ToolCall: FunctionCallContent { InformationalOnly: false } } 871or ToolApprovalResponseContent { ToolCall: FunctionCallContent { InformationalOnly: false } }); 884c is ToolApprovalRequestContent { ToolCall: FunctionCallContent { InformationalOnly: false } } 885or ToolApprovalResponseContent { ToolCall: FunctionCallContent { InformationalOnly: false } }); 909if (content[i] is FunctionCallContent functionCall && !functionCall.InformationalOnly) 920/// Marks any <see cref="FunctionCallContent"/> in <paramref name="messages"/> as <see cref="FunctionCallContent.InformationalOnly"/> 954if (contents[j] is FunctionCallContent fcc && !fcc.InformationalOnly && resultCallIds.Contains(fcc.CallId)) 963/// Marks any <see cref="FunctionCallContent"/> in the streaming <paramref name="updates"/> as <see cref="FunctionCallContent.InformationalOnly"/> 1452case ToolApprovalRequestContent tarc when tarc.ToolCall is FunctionCallContent { InformationalOnly: false }: 1458case ToolApprovalResponseContent tarc when tarc.ToolCall is FunctionCallContent { InformationalOnly: false }: 1708if (content[i] is FunctionCallContent fcc && !fcc.InformationalOnly) 1753if (content[j] is FunctionCallContent functionCall && !functionCall.InformationalOnly)
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
121Getter = static obj => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly,
Microsoft.Extensions.AI.Abstractions.Tests (10)
Contents\FunctionCallContentTests.cs (9)
31Assert.False(c.InformationalOnly); 76Assert.False(c.InformationalOnly); 78Assert.True(c.InformationalOnly); 126Assert.Equal(informationalOnly, deserialized.InformationalOnly); 139Assert.False(deserialized.InformationalOnly); 155Assert.Equal(original.InformationalOnly, deserialized.InformationalOnly); 156Assert.Equal(informationalOnly, deserialized.InformationalOnly); 461Assert.True(funcCall.InformationalOnly);
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (1)
119Getter = static obj => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly,
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
121Getter = static obj => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.FunctionCallContent.g.cs (1)
121Getter = static obj => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly,
Microsoft.Extensions.AI.Stabilization.Tests (1)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.FunctionCallContent.g.cs (1)
119Getter = static obj => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly,
Microsoft.Extensions.AI.Tests (16)
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (9)
878Assert.False(requestFcc.InformationalOnly); 879Assert.False(responseFcc.InformationalOnly); 925Assert.True(requestFcc.InformationalOnly); 926Assert.True(responseFcc.InformationalOnly); 950Assert.False(request1Fcc.InformationalOnly); 951Assert.True(response1Fcc.InformationalOnly); 2100InformationalOnly = fcc.InformationalOnly 2145.Where(t => t.ToolCall is FunctionCallContent { InformationalOnly: true }) 2157.Where(fcc => !fcc.InformationalOnly && processedCallIds.Contains(fcc.CallId)))
ChatCompletion\FunctionInvokingChatClientTests.cs (6)
2018Assert.True(functionCallContent.InformationalOnly); 2063Assert.Contains(response.Messages, m => m.Contents.Any(c => c is FunctionCallContent fcc && fcc.InformationalOnly)); 2180Assert.Contains(response.Messages, m => m.Contents.Any(c => c is FunctionCallContent fcc && fcc.CallId == "callId1" && fcc.InformationalOnly)); 2331InformationalOnly = fcc.InformationalOnly, 3500m.Contents.Any(c => c is FunctionCallContent fcc2 && fcc2.CallId == "callId1" && fcc2.InformationalOnly)); 3578m.Contents.Any(c => c is FunctionCallContent fcc2 && fcc2.CallId == "callId1" && fcc2.InformationalOnly));
Generated\361d1da7f942c932\TestJsonSerializerContext.FunctionCallContent.g.cs (1)
119Getter = static obj => ((global::Microsoft.Extensions.AI.FunctionCallContent)obj).InformationalOnly,