2 writes to Call
Microsoft.AspNetCore.Components.AI (2)
Pipeline\FunctionApprovalHandler.cs (1)
50block.Call = functionCall;
Pipeline\FunctionInvocationHandler.cs (1)
27state.Call = call;
8 references to Call
Microsoft.AspNetCore.Components.AI (8)
Blocks\FunctionApprovalBlock.cs (1)
44FunctionInvocationContentBlock invocation => invocation.Call,
Blocks\FunctionInvocationContentBlock.cs (4)
13/// and populate <see cref="Call"/>. This keeps the call, tool name, and arguments available 45/// Gets or sets the function result paired with <see cref="Call"/>. 52public string? ToolName => Call?.Name; 57public IDictionary<string, object?>? Arguments => Call?.Arguments;
Pipeline\FunctionInvocationHandler.cs (3)
20if (state.Call is null) 34if (state.Call is not null) 39result.CallId == state.Call.CallId)