Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

[pre-commit.ci] auto fixes from pre-commit.com hooks

pre-commit-ci[bot]a45babc6203f
diff --git a/studio/backend/routes/inference.py b/studio/backend/routes/inference.py
index 6740abbc58d..1b2ee91785f 100644
--- a/studio/backend/routes/inference.py
+++ b/studio/backend/routes/inference.py
@@ -875,7 +875,9 @@ async def openai_chat_completions(
img.save(buf, format = "PNG")
image_b64 = _b64.b64encode(buf.getvalue()).decode("ascii")
except Exception as e:
- raise HTTPException(status_code = 400, detail = f"Failed to process image: {e}")
+ raise HTTPException(
+ status_code = 400, detail = f"Failed to process image: {e}"
+ )
# Build message list with system prompt prepended
gguf_messages = []