fix: align box runtime launch args

This commit is contained in:
Junyan Qin
2026-05-08 18:07:55 +08:00
parent e412ed5527
commit ad9aa39281

View File

@@ -147,7 +147,7 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
ctrl = StdioClientController(
command=python_path,
args=['-m', 'langbot_plugin.box.server', '--port', str(self._relay_port)],
args=['-m', 'langbot_plugin.box.server', '--stdio-control', '--ws-control-port', str(self._relay_port)],
env=env,
)
self._ctrl_task = asyncio.create_task(
@@ -171,9 +171,7 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
await self._start_runtime_subprocess(
'-m',
'langbot_plugin.box.server',
'--mode',
'ws',
'--port',
'--ws-control-port',
str(self._relay_port),
)