Skip to content

LM Studio Compatibility Issue with lemonAI #45

@fusman60

Description

@fusman60
Image

I'm unable to get LM Studio working with lemonAI due to a persistent connection issue. Below are the details:

  • Environment:

    • OS: Mac OS 26
    • LM Studio version: 0.3.18
    • lemonAI version: 0.3.0
  • Issue:

    • When attempting to connect LM Studio as a model service in lemonAI, I receive the following error at the top of the interface:
      "unknown error: fetch failed"
    • The API Address is set to: http://host.docker.internal:1234/chat/completions
    • The interface prompts for an API key, but the field is empty (no key entered).
  • Steps to Reproduce:

    1. Open lemonAI and navigate to Model Service > LM Studio.
    2. Enter the API Address as shown above.
    3. Leave the API Key field empty (no key available).
    4. Attempt to connect or interact with the model.
  • Expected Behavior:
    LM Studio should connect and function as a model service within lemonAI.

  • Actual Behavior:
    The connection fails with an "unknown error: fetch failed" message. No models can be used.

  • Additional Information:

    • Screenshot of the error and configuration attached.
    • No API key is available for LM Studio in this setup.
    • Network appears otherwise functional.
    • Tried restarting both LM Studio and lemonAI with no change.

Request:
Guidance on resolving the fetch failure and confirming the correct API key/API address setup for LM Studio integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions