More work

This commit is contained in:
Nickk888 committed 2026-10-12 01:14:13 +02:00
1 parent c06f06c6ce
commit 8b476e6939
20 files changed
+871 -22

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
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<string>? 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;
}