fix(tui): avoid blocking local gateway startup

This commit is contained in:
chengyongru
2026-08-20 14:48:31 +08:00
committed by chengyongru
parent dc13dff3ff
commit c5ae958bc3
2 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ from nanobot.cli.webui_support import _prepare_webui_bundle_for_gateway
from nanobot.config.schema import Config
def test_source_checkout_rebuilds_the_webui_from_every_gateway_entrypoint(monkeypatch) -> None:
def test_source_checkout_preserves_warn_only_gateway_startup(monkeypatch) -> None:
modes: list[str] = []
monkeypatch.setattr(
"nanobot.cli.webui_support.inspect_webui_bundle",
@@ -18,7 +18,7 @@ def test_source_checkout_rebuilds_the_webui_from_every_gateway_entrypoint(monkey
_prepare_webui_bundle_for_gateway(Config(), mode="warn")
assert modes == ["auto"]
assert modes == ["warn"]
def test_vite_mode_does_not_build_the_source_webui_bundle(monkeypatch) -> None: