using System.Text.Json.Serialization; namespace AIStudio.Provider.SelfHosted; /// /// The chat request model. /// /// Which model to use for chat completion. /// The chat messages. /// Whether to stream the chat completion. public readonly record struct ChatRequest( string Model, IList Messages, bool Stream ) { public IDictionary AdditionalApiParameters { get; init; } }