mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00:00
fix: align box runtime launch args
This commit is contained in:
@@ -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),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user