mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Add AG-UI Blazor sample
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AGUIDojoClient.Components.Demos.PredictiveStateUpdates;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the document state for the Predictive State Updates demo.
|
||||
/// This model mirrors the server-side DocumentState and is updated via streaming state updates.
|
||||
/// </summary>
|
||||
public sealed class DocumentState
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the document content in Markdown format.
|
||||
/// </summary>
|
||||
[JsonPropertyName("document")]
|
||||
public string Document { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user