1 write to Update
Microsoft.AspNetCore.Components.AI (1)
Pipeline\BlockMappingContext.cs (1)
23Update = update;
12 references to Update
Microsoft.AspNetCore.Components.AI (12)
Pipeline\ActivityHandler.cs (1)
24state.Id = context.Update.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\BlockMappingContext.cs (8)
34/// Gets the contents of <see cref="Update"/> that no handler has claimed yet. 36public UnhandledContentsEnumerable UnhandledContents => new(Update.Contents, _handled); 44var contents = Update.Contents; 71_handledCount >= Update.Contents.Count && (Update.Contents.Count > 0 || _updateHandled); 91Role = Update.Role, 92AuthorName = Update.AuthorName, 93MessageId = Update.MessageId,
Pipeline\RichTextContentHandler.cs (2)
30context.Update.MessageId is { Length: > 0 } messageId && 48state.Id = context.Update.MessageId ?? Guid.NewGuid().ToString("N");
Pipeline\TextBlockHandler.cs (1)
41state.Id = context.Update.MessageId ?? Guid.NewGuid().ToString("N");