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
Keep path_utils off PEP 604, which the 3.9 floor gate rejects (#9335)
Daniel Han78a35874271f
diff --git a/studio/backend/tests/test_rag_store.py b/studio/backend/tests/test_rag_store.pyindex 93142270253..19c21930355 100644--- a/studio/backend/tests/test_rag_store.py+++ b/studio/backend/tests/test_rag_store.py@@ -451,8 +451,12 @@ def test_a_legacy_archive_still_gets_two_different_ends(rag_home, rag_conn):store.add_chunks(conn, scope, document, [chunk], [[0.0, 0.0, 0.0, 0.0]])conn.commit()- oldest = [chunk for chunk, _ in store.search_lexical(conn, scope, "ZQXLEGACY", 3, oldest_first = True)]- newest = [chunk for chunk, _ in store.search_lexical(conn, scope, "ZQXLEGACY", 3, newest_first = True)]+ oldest = [+ chunk for chunk, _ in store.search_lexical(conn, scope, "ZQXLEGACY", 3, oldest_first = True)+ ]+ newest = [+ chunk for chunk, _ in store.search_lexical(conn, scope, "ZQXLEGACY", 3, newest_first = True)+ ]assert oldest and newestassert oldest != newest, "both ends of the fetch returned the same rows"diff --git a/studio/backend/utils/paths/path_utils.py b/studio/backend/utils/paths/path_utils.pyindex 7c31127c835..c28ef9d0012 100644--- a/studio/backend/utils/paths/path_utils.py+++ b/studio/backend/utils/paths/path_utils.py@@ -69,7 +69,12 @@ def _shadowed_name(path: str) -> str:def drop_shadowed_appledouble_names(- files: list[str], *, subject_key: Callable[[str], object] | None = None+ # Optional[...] rather than `| None`: this module has no `from __future__ import+ # annotations`, so its annotations are evaluated at import, and PEP 604 unions are a+ # TypeError on the declared 3.9 floor. tests/test_python39_compatibility.py gates it.+ files: list[str],+ *,+ subject_key: Optional[Callable[[str], object]] = None,) -> list[str]:"""*files* without the ``._`` entries whose subject is present in the same listing.