Search Results for

    Show / Hide Table of Contents

    Class LMStudioNativeChatRequest

    Request model for LM Studio native /api/v1/chat endpoint (Track B). Supports stateful chat via conversation_id and MCP tool integrations. IMPORTANT: Do NOT confuse with ChatCompletionRequest ??kept separate to avoid contaminating the unified API surface with native-only fields.

    Inheritance
    object
    LMStudioNativeChatRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.LMStudio
    Assembly: Glitch9.AIDevKit.Provider.LMStudio.dll
    Syntax
    public class LMStudioNativeChatRequest

    Properties

    | Edit this page View Source

    ConversationId

    Omit on first request. Include on subsequent requests to continue the same conversation.

    Declaration
    [JsonProperty("conversation_id")]
    public string ConversationId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    EphemeralMcp

    Inline MCP server definitions. Opt-in; requires explicit user approval.

    Declaration
    [JsonProperty("ephemeral_mcp")]
    public LMStudioEphemeralMcp EphemeralMcp { get; set; }
    Property Value
    Type Description
    LMStudioEphemeralMcp
    | Edit this page View Source

    MaxTokens

    Declaration
    [JsonProperty("max_tokens")]
    public int? MaxTokens { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Messages

    Declaration
    [JsonProperty("messages")]
    public List<NativeChatMessage> Messages { get; set; }
    Property Value
    Type Description
    List<NativeChatMessage>
    | Edit this page View Source

    Model

    Declaration
    [JsonProperty("model")]
    public string Model { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Plugins

    Plugin references for native MCP tool access. Opt-in.

    Declaration
    [JsonProperty("plugin")]
    public List<LMStudioPlugin> Plugins { get; set; }
    Property Value
    Type Description
    List<LMStudioPlugin>
    | Edit this page View Source

    Stream

    Declaration
    [JsonProperty("stream")]
    public bool? Stream { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Temperature

    Declaration
    [JsonProperty("temperature")]
    public float? Temperature { get; set; }
    Property Value
    Type Description
    float?

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation