bugfix
This commit is contained in:
parent
95a591ef29
commit
0f5cff0c0e
@ -1,6 +1,7 @@
|
||||
import os
|
||||
import re
|
||||
import json
|
||||
from traceback import format_exc
|
||||
import asyncio
|
||||
import yaml
|
||||
from functools import partial
|
||||
@ -203,12 +204,12 @@ class IndustrialSkillEngine:
|
||||
'status': 'FAILED',
|
||||
'error': f"{e}"
|
||||
})
|
||||
debug(f'{e}\n{format_exc()}')
|
||||
await self.write_output(None)
|
||||
|
||||
async def _run(self, user_prompt: str, context=None, is_retry=False):
|
||||
# 如果是重试,跳过技能选择
|
||||
await self.boot()
|
||||
debug(f'{self.registry=}')
|
||||
if not is_retry:
|
||||
await self.write_output({
|
||||
"status": "PROCESSING",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user