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
Studio tests: check the compare composer's paste path, not one spelling of it (#12325)
Daniel Hanb932263f1352
diff --git a/tests/studio/test_desktop_reliability_frontend_contract.py b/tests/studio/test_desktop_reliability_frontend_contract.pyindex 3f45ac3fdad..02fb78f591f 100644--- a/tests/studio/test_desktop_reliability_frontend_contract.py+++ b/tests/studio/test_desktop_reliability_frontend_contract.py@@ -466,7 +466,17 @@ def test_clipboard_file_paste_is_bounded_and_wired_to_both_composers():assert "aui.composer().addAttachment(file)" in threadassert "onPaste={handleFilePaste}" in shared_composerassert "pasteClipboardFiles" in shared_composer- assert "addFiles(files)" in shared_composer+ # The paste handler has to hand the pasted files to the same add path a drop or the file picker+ # uses. #9788 moved it from addFiles(files) to trackAttaching(... addFilesUntracked(files)) so+ # the in-flight counter is bumped once rather than twice; either spelling is the contract, but+ # an untracked add must sit inside trackAttaching or a send can race the paste.+ paste = shared_composer[shared_composer.index("const handleFilePaste") :]+ paste = paste[: paste.index("\n );\n")]+ assert "pasteClipboardFiles(" in paste+ added = re.findall(r"\b(addFiles|addFilesUntracked)\(files\)", paste)+ assert added, "the compare composer's paste handler no longer adds the pasted files"+ if "addFilesUntracked" in added:+ assert "trackAttaching(" in pasteassert capabilities.count('"clipboard-manager:allow-read-image"') == 1assert '"clipboard-manager:allow-read-text"' not in capabilities