fix(e2b): stupid e2b env variable not work

This commit is contained in:
Harry
2026-01-23 18:41:49 +08:00
parent 00ae975f0b
commit 41dd93c6b2
3 changed files with 14 additions and 15 deletions

View File

@ -15,12 +15,8 @@ class SkillManager:
assets_id: str,
) -> SkillBundle:
key = AssetPaths.build_skill_bundle(tenant_id, app_id, assets_id)
try:
data = storage.load_once(key)
return SkillBundle.model_validate_json(data)
except Exception:
logger.info("Skill bundle missing or invalid for assets_id=%s", assets_id)
return SkillBundle(assets_id=assets_id)
data = storage.load_once(key)
return SkillBundle.model_validate_json(data)
@staticmethod
def save_bundle(