mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-23 17:05:28 +08:00
feat(pipeline-migration): relax legacy config migration and pin latest runner plugins
- Coerce/default/drop invalid or unknown legacy fields with warnings instead of blocking - Never block on LocalAgent model; prune dangling KB/tool/MCP references - Mark custom (non-builtin) 4.10 runners as unsupported_runner instead of failing - Pin runner plugins to current marketplace versions (0.2.x); fall back to latest when a pin is withdrawn - Raise plugin install/upgrade timeout to 600s for slow dependency installs - Assistant configure_pipeline writes the 4.11 runner shape Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -2805,7 +2805,7 @@ class RuntimeConnectionHandler(handler.Handler):
|
||||
return await self.call_action(
|
||||
LangBotToRuntimeAction.APPLY_PLUGIN_INSTALLATION,
|
||||
request.model_dump(exclude_none=True),
|
||||
timeout=120,
|
||||
timeout=600, # dependency install can be slow
|
||||
)
|
||||
|
||||
async def remove_plugin_installation(
|
||||
@@ -2829,7 +2829,7 @@ class RuntimeConnectionHandler(handler.Handler):
|
||||
'install_source': install_source,
|
||||
'install_info': install_info,
|
||||
},
|
||||
timeout=120,
|
||||
timeout=600, # dependency install can be slow
|
||||
)
|
||||
|
||||
async for ret in gen:
|
||||
@@ -2843,7 +2843,7 @@ class RuntimeConnectionHandler(handler.Handler):
|
||||
'plugin_author': plugin_author,
|
||||
'plugin_name': plugin_name,
|
||||
},
|
||||
timeout=120,
|
||||
timeout=600, # dependency install can be slow
|
||||
)
|
||||
|
||||
async for ret in gen:
|
||||
|
||||
Reference in New Issue
Block a user