Before filing
Closest existing issue
none found
What's broken
Berd's LM Studio provider is double-appending /v1 when the configured Base URL already includes it, producing malformed requests (/v1/v1/models, /v1/v1/chat/completions).
Symptom: chat/model-list requests land as /v1/v1/... on the LM Studio side (confirmed via LM Studio's own server log), and the resulting failure shows in Berd only as "Unknown"
Steps to reproduce
- Start LM Studio's local server (Local Server tab → Start), with a model loaded.
- In Berd, add/configure a custom OpenAI-compatible provider pointing at LM Studio, setting Base URL to http://localhost:1234/v1 (i.e., including the /v1 suffix, as commonly documented for OpenAI-compatible endpoints).
- Save the provider. Connection check succeeds — Berd fetches the model list fine.
- Start a chat session using that provider/model and send any message (e.g. "hello").
What you expected to happen
Message sends normally and the model responds.
What actually happened
Chat fails immediately with a "The model returned an empty response. Please resend your message to continue."
Also the connection throws a warning as unknown error.
How often does it happen?
Every time — reliably reproducible
Berd version
0.6.2
Operating system
macOS (Apple Silicon)
Model and provider
LM Studio Bionic
Relevant log output
It's from lm studio NOT Berd.
183 [2026-08-20 12:40:17][DEBUG] Received request: GET to /v1/v1/models
184 [2026-08-20 12:40:17][ERROR] Unexpected endpoint or method. (GET /v1/v1/models). Returning 200 anyway
185 [2026-08-20 12:40:17][DEBUG] Received request: GET to /v1/v1/models
186 [2026-08-20 12:40:17][ERROR] Unexpected endpoint or method. (GET /v1/v1/models). Returning 200 anyway
Screenshots, recordings, or other context
No response
Before filing
Closest existing issue
none found
What's broken
Berd's LM Studio provider is double-appending /v1 when the configured Base URL already includes it, producing malformed requests (/v1/v1/models, /v1/v1/chat/completions).
Symptom: chat/model-list requests land as /v1/v1/... on the LM Studio side (confirmed via LM Studio's own server log), and the resulting failure shows in Berd only as "Unknown"
Steps to reproduce
What you expected to happen
Message sends normally and the model responds.
What actually happened
Chat fails immediately with a "The model returned an empty response. Please resend your message to continue."
Also the connection throws a warning as unknown error.
How often does it happen?
Every time — reliably reproducible
Berd version
0.6.2
Operating system
macOS (Apple Silicon)
Model and provider
LM Studio Bionic
Relevant log output
Screenshots, recordings, or other context
No response