36 lines
715 B
C#
36 lines
715 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AxCopilot.Services.Agent;
|
|
|
|
public class AgentEvent
|
|
{
|
|
public DateTime Timestamp { get; init; } = DateTime.Now;
|
|
|
|
public AgentEventType Type { get; init; }
|
|
|
|
public string ToolName { get; init; } = "";
|
|
|
|
public string Summary { get; init; } = "";
|
|
|
|
public string? FilePath { get; init; }
|
|
|
|
public bool Success { get; init; } = true;
|
|
|
|
public int StepCurrent { get; init; }
|
|
|
|
public int StepTotal { get; init; }
|
|
|
|
public List<string>? Steps { get; init; }
|
|
|
|
public long ElapsedMs { get; init; }
|
|
|
|
public int InputTokens { get; init; }
|
|
|
|
public int OutputTokens { get; init; }
|
|
|
|
public string? ToolInput { get; init; }
|
|
|
|
public int Iteration { get; init; }
|
|
}
|