mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-16 07:20:59 +00:00
fix: align box runtime launch args
This commit is contained in:
@@ -147,7 +147,7 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
|
|||||||
|
|
||||||
ctrl = StdioClientController(
|
ctrl = StdioClientController(
|
||||||
command=python_path,
|
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,
|
env=env,
|
||||||
)
|
)
|
||||||
self._ctrl_task = asyncio.create_task(
|
self._ctrl_task = asyncio.create_task(
|
||||||
@@ -171,9 +171,7 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
|
|||||||
await self._start_runtime_subprocess(
|
await self._start_runtime_subprocess(
|
||||||
'-m',
|
'-m',
|
||||||
'langbot_plugin.box.server',
|
'langbot_plugin.box.server',
|
||||||
'--mode',
|
'--ws-control-port',
|
||||||
'ws',
|
|
||||||
'--port',
|
|
||||||
str(self._relay_port),
|
str(self._relay_port),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user