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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Tests: let the RAG re-embed and embedder alias tests run on macOS and Windows (#17037)
Daniel Han39d266b0a731
diff --git a/studio/backend/tests/test_openai_embeddings_studio_fallback.py b/studio/backend/tests/test_openai_embeddings_studio_fallback.pyindex e01f44ae62a..1d1e04feb4f 100644--- a/studio/backend/tests/test_openai_embeddings_studio_fallback.py+++ b/studio/backend/tests/test_openai_embeddings_studio_fallback.py@@ -1221,7 +1221,9 @@ def test_local_path_aliases_match_case_exactly(studio_embedder, tmp_path):)assert inference_route._names_studio_embedder(model_dir)assert not inference_route._names_studio_embedder(str(tmp_path / "foo"))- assert inference_route._names_studio_embedder(f"sentence-transformers:{model_dir}")+ # An identity escapes the colons in its segments (a Windows path has one after the drive).+ segment = rag_config._escape_identity_segment(model_dir)+ assert inference_route._names_studio_embedder(f"sentence-transformers:{segment}")def test_untagged_aliases_never_probe_the_backend(studio_embedder):diff --git a/studio/backend/tests/test_rag_reembed.py b/studio/backend/tests/test_rag_reembed.pyindex 36a4fbeb307..16233b7ee86 100644--- a/studio/backend/tests/test_rag_reembed.py+++ b/studio/backend/tests/test_rag_reembed.py@@ -10,6 +10,15 @@ import pytestfrom core.rag import chunking, config, embeddings, ingestion, reembed, retrieval, storefrom storage import rag_db+import sqlite3++# Every test here writes vectors. Same gate as the rag_conn fixture (the macos-15 runner's sqlite3+# cannot load extensions, so RAG is unavailable there and the product reports it).+pytestmark = pytest.mark.skipif(+ not rag_db.RAG_AVAILABLE or not hasattr(sqlite3.Connection, "enable_load_extension"),+ reason = "sqlite-vec cannot be loaded by this Python's sqlite3",+)+OLD, NEW, NEWER = "org/old-embedder", "org/new-embedder", "org/newer-embedder"WIDTHS = {OLD: 8, NEW: 12, NEWER: 12} # same width: NEWER's rewrite must remove NEW's rows