1 write to Response
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
1361(targetList ??= []).Add(new() { Response = approvalResponse, RequestMessage = requestMessage });
4 references to Response
Microsoft.Extensions.AI (4)
ChatCompletion\FunctionInvokingChatClient.cs (4)
1375rejections.ConvertAll(static m => (AIContent)new FunctionResultContent(m.Response.FunctionCall.CallId, "Error: Tool call invocation was rejected by user.")) : 1416currentMessage.Contents.Add(resultWithRequestMessage.Response.FunctionCall); 1446functionCallMessage.Contents = [resultWithRequestMessage.Response.FunctionCall]; 1602originalMessages, options, toolMap, notInvokedApprovals.Select(x => x.Response.FunctionCall).ToList(), 0, consecutiveErrorCount, isStreaming, cancellationToken);