From 6804c785c6b506c47b45264398728d0a609310be Mon Sep 17 00:00:00 2001 From: historia Date: Wed, 2 Sep 2026 19:13:24 -0400 Subject: feat: sglang-omni model picker on manual server launch --- app/tests/test_backends_servers.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/tests/test_backends_servers.py') diff --git a/app/tests/test_backends_servers.py b/app/tests/test_backends_servers.py index 4065a34..569c7bd 100644 --- a/app/tests/test_backends_servers.py +++ b/app/tests/test_backends_servers.py @@ -160,6 +160,14 @@ class StartTests(unittest.TestCase): 'architecture")', "y"])) self.assertIsNone(servers._boot_hint([])) + def test_boot_hint_names_missing_companion_packages(self): + # A model whose companion pip packages are absent from the backend + # venv (e.g. sglang-omni's Qwen3-TTS models need qwen_tts) dies on + # the import; the hint says what to do about it. + self.assertIn("companion", servers._boot_hint( + ['File "...", in resolve_checkpoint', + "ModuleNotFoundError: No module named 'qwen_tts'"])) + def test_console_progress_prints_the_hint(self): out = io.StringIO() with redirect_stdout(out): -- cgit v1.2.3