mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-12 11:44:55 -05:00
parse output from skills
This commit is contained in:
25
cli/Models/DevLeadPlanResponse.cs
Normal file
25
cli/Models/DevLeadPlanResponse.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
public class Subtask
|
||||
{
|
||||
[JsonPropertyName("subtask")]
|
||||
public string Name { get; set; }
|
||||
[JsonPropertyName("LLM_prompt")]
|
||||
public string LLMPrompt { get; set; }
|
||||
}
|
||||
|
||||
public class Step
|
||||
{
|
||||
[JsonPropertyName("step")]
|
||||
public string Name { get; set; }
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; set; }
|
||||
[JsonPropertyName("subtasks")]
|
||||
public List<Subtask> Subtasks { get; set; }
|
||||
}
|
||||
|
||||
public class DevLeadPlanResponse
|
||||
{
|
||||
[JsonPropertyName("steps")]
|
||||
public List<Step> Steps { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user