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: make Playwright model-selector probe best-effort (#5371)
Daniel Hanbbe53c68efcf
diff --git a/tests/studio/playwright_chat_ui.py b/tests/studio/playwright_chat_ui.pyindex 3f4ee6704c4..8f7dafa2a48 100644--- a/tests/studio/playwright_chat_ui.py+++ b/tests/studio/playwright_chat_ui.py@@ -479,8 +479,16 @@ with sync_playwright() as p:'button:has-text("Qwen"), ''button:has-text("Llama")').first- if selector_btn.count() > 0:- sel_text = (selector_btn.text_content() or "").strip()+ # Best-effort: the selector re-mounts as /api/models/list resolves,+ # so use a short timeout and skip the snapshot on miss.+ sel_text = ""+ try:+ sel_text = (selector_btn.text_content(timeout = 2_000) or "").strip()+ except Exception as _sel_err:+ info(+ f"WARN: model-selector probe skipped: {type(_sel_err).__name__}: {_sel_err}"+ )+ if sel_text:info(f"model selector button text: {sel_text!r}")shoot("03b-default-model-button")