BotSharp/src/Infrastructure/BotSharp.Abstraction/Agents/Models/AgentCodeScript.cs
2025-10-06 01:27:18 -05:00

29 lines
631 B
C#

namespace BotSharp.Abstraction.Agents.Models;
public class AgentCodeScript : AgentCodeScriptBase
{
public string Id { get; set; }
public string AgentId { get; set; } = null!;
public AgentCodeScript() : base()
{
}
public override string ToString()
{
return $"{CodePath}";
}
}
public class AgentCodeScriptBase
{
public string Name { get; set; } = null!;
public string Content { get; set; } = null!;
/// <summary>
/// Code script type: src, test
/// </summary>
public string ScriptType { get; set; } = null!;
public string CodePath => $"{ScriptType}/{Name}";
}