From bb7751c37998081b05172d46a470cb7b75dc3d77 Mon Sep 17 00:00:00 2001 From: Diogo Azevedo Date: Wed, 30 Sep 2026 22:12:16 +0000 Subject: [PATCH] lmstudio: Support splash models (#64847) ## Summary LM Studio reports Splash models with `"compatibility_type": "splash"`. `CompatibilityType` rejects the value, `/api/v0/models` fails to parse, and Zed lists no LM Studio models at all. This adds a `Splash` variant. ## Testing Tested on macOS 27 with LM Studio 0.4.45, a Splash model and an MLX model installed. **Before**: no models. **After**: both models listed. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [ ] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [ ] Tests cover the new or changed behavior. Release Notes: - Fixed LM Studio models not appearing when a Splash model is installed. --- crates/lmstudio/src/lmstudio.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/lmstudio/src/lmstudio.rs b/crates/lmstudio/src/lmstudio.rs index 498cbde985e..f977a7018a6 100644 --- a/crates/lmstudio/src/lmstudio.rs +++ b/crates/lmstudio/src/lmstudio.rs @@ -257,6 +257,7 @@ pub enum ModelState { pub enum CompatibilityType { Gguf, Mlx, + Splash, } pub async fn stream_chat_completion(