This commit is contained in:
yumoqing 2026-02-12 13:36:59 +08:00
parent e2fefa8bbc
commit 98a6644a0b

View File

@ -194,7 +194,7 @@ class IndustrialSkillEngine:
# --- 5. 主运行接口 ---
async def run(self, parmas_kw):
async def run(self, params_kw):
try:
user_input = json.dumps(params_kw, ensure_ascii=False)
await self._run(user_input)
@ -203,7 +203,7 @@ class IndustrialSkillEngine:
'status': 'FAILED',
'error': f"{e}"
})
self.write_output(None)
await self.write_output(None)
async def _run(self, user_prompt: str, context=None, is_retry=False):
# 如果是重试,跳过技能选择