Skip to content

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.

Fix the backend test suite going red on main (#8758)

Daniel Han4c4ca32df6da
diff --git a/studio/backend/tests/test_external_hosted_tool_passthrough.py b/studio/backend/tests/test_external_hosted_tool_passthrough.py
index 02888e98201..d75c2d480c0 100644
--- a/studio/backend/tests/test_external_hosted_tool_passthrough.py
+++ b/studio/backend/tests/test_external_hosted_tool_passthrough.py
@@ -212,8 +212,9 @@ def test_a_local_only_selection_takes_the_loop_on_a_hosted_provider(monkeypatch,
works on hosted providers too."""
# ``_select_request_tools`` imports this from ``core.inference.tools`` inside the function
# body, so it is never an attribute of ``routes.inference``: patching the route set a dead
- # name, and ``raising = False`` hid that while the real function spawned stdio MCP servers
- # and wrote discovery cache and cool-off state. Default ``raising`` catches a future move.
+ # name, and ``raising = False`` hid that while the real function ran instead. On this job
+ # it reads an empty settings DB and short-circuits before spawning anything, but nothing
+ # here held it to that. Default ``raising`` catches a future move.
monkeypatch.setattr(
"core.inference.tools.get_enabled_mcp_tools",
lambda: _noop_mcp(),