Files
commander-ai-lab/unity-client/Assets/Scripts/Models/CoachResponse.cs
KoalaTrapLord 3f1bcb4d12 Unity U3: Add CoachResponse.cs (#48)
This class maps to the response of the POST /api/coach/chat endpoint, including properties for reply, deck report, and suggestions.
2026-03-18 02:00:43 -04:00

17 lines
467 B
C#

using System;
using Newtonsoft.Json;
namespace CommanderAILab.Models
{
/// <summary>Maps to POST /api/coach/chat response.</summary>
[Serializable]
public class CoachResponse
{
[JsonProperty("reply")] public string reply;
[JsonProperty("deck_report")] public string deckReport;
[JsonProperty("suggestions")] public string[] suggestions;
public override string ToString() => reply ?? "(empty coach response)";
}
}