拆分_execute_request

This commit is contained in:
UnCLAS-Prommer
2025-04-19 22:41:52 +08:00
parent b1dc34f7b1
commit 5d471440e6
3 changed files with 1233 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ class ReplyGenerator:
return content
except Exception as e:
logger.error(f"生成回复时出错: {e}")
logger.error(f"生成回复时出错: {str(e)}")
return "抱歉,我现在有点混乱,让我重新思考一下..."
async def check_reply(self, reply: str, goal: str, retry_count: int = 0) -> Tuple[bool, str, bool]: