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