Files
2026-07-19 01:32:11 +03:00

28 lines
760 B
C#

sealed class AgentChatEntry
{
public required string Id { get; init; }
public required DateTimeOffset Time { get; init; }
public required string Type { get; init; }
public string Text { get; set; } = string.Empty;
public string? Title { get; set; }
public string? Status { get; set; }
public string? ToolKind { get; set; }
public string? ToolCallId { get; set; }
public string? Source { get; set; }
public string? Kind { get; set; }
public object Snapshot() => new
{
id = Id,
time = Time,
type = Type,
text = Text,
title = Title,
status = Status,
toolKind = ToolKind,
toolCallId = ToolCallId,
source = Source,
kind = Kind
};
}