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: follow the thread-list guard flag and the RAG WAL keeper (#15778)
Daniel Hana16fb4f5b4a0
diff --git a/studio/backend/tests/test_account_chat_settings.py b/studio/backend/tests/test_account_chat_settings.pyindex cf4c21d5df6..79c5e787ccb 100644--- a/studio/backend/tests/test_account_chat_settings.py+++ b/studio/backend/tests/test_account_chat_settings.py@@ -192,7 +192,7 @@ def test_foreign_ids_do_not_authorize_reads_or_writes(client, method, path, bodydef test_list_export_and_delete_stay_in_the_account(client):seed_chat(BOB)seed_run(BOB)- assert client.get("/chat/threads").json() == {"threads": []}+ assert client.get("/chat/threads").json()["threads"] == []assert client.get("/runs/active?threadId=private").json() == {"runs": []}assert client.get("/chat/attachments").json()["attachments"] == []assert client.get("/chat/export").json()["threadCount"] == 0diff --git a/studio/backend/tests/test_checkpoint_compaction.py b/studio/backend/tests/test_checkpoint_compaction.pyindex 357328ee3ab..1d5fc6dda09 100644--- a/studio/backend/tests/test_checkpoint_compaction.py+++ b/studio/backend/tests/test_checkpoint_compaction.py@@ -2303,11 +2303,15 @@ def test_the_reachability_probe_closes_the_connection_it_opens():passreturn found+ # The first open also starts rag_db's WAL keeper, which holds rag.db and its -wal / -shm+ # sidecars for the life of the process (#15719); count from after it, so only a leaked+ # probe connection can grow the number.+ conversation_archive.reachable()before = _open_archive_handles()for _ in range(50):conversation_archive.reachable()- assert _open_archive_handles() <= before + 1+ assert _open_archive_handles() <= beforedef test_the_block_says_the_newest_message_outranks_it():