using System.Text.Json.Serialization; public class LmStudioChatRequest { [JsonPropertyName("model")] public required string Model { get; set; } [JsonPropertyName("system_prompt")] public string? SystemPrompt { get; set; } [JsonPropertyName("input")] public required string Input { get; set; } [JsonPropertyName("integrations")] public List? Integrations { get; set; } [JsonPropertyName("reasoning")] public string? Reasoning { get; set; } [JsonPropertyName("temperature")] public double Temperature { get; set; } [JsonPropertyName("top_p")] public double TopP { get; set; } [JsonPropertyName("context_length")] public int ContextLength { get; set; } [JsonPropertyName("max_output_tokens")] public int MaxOutputTokens { get; set; } [JsonPropertyName("store")] public bool Store { get; set; } = true; [JsonPropertyName("stream")] public bool Stream { get; set; } = false; }