fix(cloud): recover box runtime without unscoped skill reload

This commit is contained in:
dadachann
2026-07-26 14:25:49 +08:00
parent d71bd571b1
commit 602e10649b
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ class BoxService:
self._connector_error = ''
skill_mgr = getattr(self.ap, 'skill_mgr', None)
reload_skills = getattr(skill_mgr, 'reload_skills', None)
if callable(reload_skills):
if callable(reload_skills) and not self._cloud_managed:
await reload_skills()
self.ap.logger.info('Box runtime reconnected, sandbox features restored.')
return