lemonai icon indicating copy to clipboard operation
lemonai copied to clipboard

LM Studio Compatibility Issue with lemonAI

Open fusman60 opened this issue 1 year ago • 1 comments

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.

fusman60 avatar Jul 17 '25 07:07 fusman60

ok. We will test and fix it soon ~

bboonnee avatar Jul 23 '25 09:07 bboonnee