class LittleGhost::Providers::LMStudio

LMStudio connects LittleGhost to an LM Studio server through its OpenAI-compatible API. Generation, embeddings, retries, cancellation, and deadlines use the shared compatible transport.

provider = LittleGhost::Providers::LMStudio.new(
  model: "google/gemma-3-4b",
  allow_insecure_http: true
)

The default endpoint is LM Studio’s local server. Pass api_key when the server requires authentication. Plain HTTP remains an explicit opt-in.