add json display name

This commit is contained in:
Jicheng Lu 2024-08-13 17:08:30 -05:00
parent 16795a13fd
commit 281ace8658

View file

@ -13,6 +13,8 @@ public class AgentViewModel
public string Description { get; set; }
public string Type { get; set; } = AgentType.Task;
public string Instruction { get; set; }
[JsonPropertyName("channel_instructions")]
public List<ChannelInstruction> ChannelInstructions { get; set; }
public List<AgentTemplate> Templates { get; set; }
public List<FunctionDef> Functions { get; set; }