6 writes to Id
Microsoft.AspNetCore.Components.AI (6)
Blocks\FunctionInvocationContentBlock.cs (1)
39
Id
= value.CallId;
Pipeline\ActivityHandler.cs (1)
24
state.
Id
= context.Update.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\FunctionApprovalHandler.cs (1)
34
Id
= approvalRequest.ToolCall is FunctionCallContent functionCall
Pipeline\RichTextContentHandler.cs (1)
48
state.
Id
= context.Update.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\TextBlockHandler.cs (1)
41
state.
Id
= context.Update.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\UIActionHandler.cs (1)
35
Id
= call.CallId ?? Guid.NewGuid().ToString("N")
13 references to Id
Microsoft.AspNetCore.Components.AI (13)
Blocks\UIActionBlock.cs (1)
86
Result = new FunctionResultContent(Call.CallId ??
Id
, result);
Pipeline\ActivityHandler.cs (2)
18
if (state.
Id
== string.Empty)
22
if (state.
Id
.Length == 0)
Pipeline\BlockMappingPipeline.cs (4)
73
BlockMappingPipelineLog.ActiveHandlerResult(_logger, active.Block.GetType().Name, result.Kind.ToString(), active.Block.
Id
);
125
BlockMappingPipelineLog.ActiveHandlerResult(_logger, emitBlock.GetType().Name, catchUpResult.Kind.ToString(), emitBlock.
Id
);
139
BlockMappingPipelineLog.EmittingBlock(_logger, emitBlock.GetType().Name, emitBlock.
Id
, emitBlock.Role?.Value);
176
if (string.IsNullOrEmpty(block.
Id
))
Pipeline\RichTextContentHandler.cs (4)
24
return state.
Id
.Length > 0
29
if (state.
Id
.Length > 0 &&
31
!string.Equals(state.
Id
, messageId, StringComparison.Ordinal))
46
if (state.
Id
.Length == 0)
Pipeline\TextBlockHandler.cs (2)
27
if (state.
Id
!= string.Empty)
39
if (state.
Id
== string.Empty)