lemonai
lemonai copied to clipboard
LM Studio Compatibility Issue with lemonAI
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).
- When attempting to connect LM Studio as a model service in lemonAI, I receive the following error at the top of the interface:
-
Steps to Reproduce:
- Open lemonAI and navigate to Model Service > LM Studio.
- Enter the API Address as shown above.
- Leave the API Key field empty (no key available).
- 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.
ok. We will test and fix it soon ~