namespace Gott.Models; public class ChainRecord { public long Id { get; set; } public string ChainId { get; set; } public string SessionId { get; set; } public string AgentId { get; set; } public string Model { get; set; } public string SystemPrompt { get; set; } public long InputTokens { get; set; } public long OutputTokens { get; set; } public long CacheCreationTokens { get; set; } public long CacheReadTokens { get; set; } public int Iterations { get; set; } public string StopReason { get; set; } public long DurationMs { get; set; } public string ToolChoice { get; set; } public string ToolNames { get; set; } public string ArchiveId { get; set; } public string StreamErrorInfo { get; set; } public string WorkflowInfo { get; set; } // JSON: Telemetrie eines dynamischen Workflows (ultracode), null = kein Workflow public bool PlanMode { get; set; } public string Effort { get; set; } public string CreatedAt { get; set; } }