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]904ac86f4ab7
diff --git a/studio/backend/routes/models.py b/studio/backend/routes/models.py
index 5ffd3d955b4..14cff0d2d23 100644
--- a/studio/backend/routes/models.py
+++ b/studio/backend/routes/models.py
@@ -609,11 +609,13 @@ async def list_cached_gguf(
has_gguf = True
total_size += f.stat().st_size
if has_gguf:
- cached.append({
- "repo_id": repo_id,
- "size_bytes": total_size,
- "cache_path": str(entry),
- })
+ cached.append(
+ {
+ "repo_id": repo_id,
+ "size_bytes": total_size,
+ "cache_path": str(entry),
+ }
+ )
return {"cached": cached}
except Exception as e:
logger.error(f"Error listing cached GGUF repos: {e}", exc_info = True)