25 lines
744 B
C#
25 lines
744 B
C#
|
|
namespace BotSharp.Abstraction.Loggers.Models;
|
||
|
|
|
||
|
|
public class InstructionLogModel
|
||
|
|
{
|
||
|
|
[JsonPropertyName("agent_id")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public string? AgentId { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("provider")]
|
||
|
|
public string Provider { get; set; } = default!;
|
||
|
|
|
||
|
|
[JsonPropertyName("model")]
|
||
|
|
public string Model { get; set; } = default!;
|
||
|
|
|
||
|
|
[JsonPropertyName("user_id")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public string? UserId { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("states")]
|
||
|
|
public Dictionary<string, string> States { get; set; } = [];
|
||
|
|
|
||
|
|
[JsonPropertyName("created_time")]
|
||
|
|
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
|
||
|
|
}
|