🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-04-25 09:40:54 +00:00
parent 78a5a622e6
commit a45b35e74c
2 changed files with 14 additions and 11 deletions

View File

@@ -275,7 +275,9 @@ class Conversation:
chat_history=observation_info.chat_history,
retry_count=reply_attempt_count - 1, # 传递当前尝试次数从0开始计数
)
logger.info(f"{reply_attempt_count} 次检查结果: 合适={is_suitable}, 原因='{check_reason}', 需重新规划={need_replan}")
logger.info(
f"{reply_attempt_count} 次检查结果: 合适={is_suitable}, 原因='{check_reason}', 需重新规划={need_replan}"
)
if is_suitable:
final_reply_to_send = self.generated_reply # 保存合适的回复

View File

@@ -78,6 +78,7 @@ class ReplyChecker:
except Exception as e:
import traceback
logger.error(f"检查回复时出错: 类型={type(e)}, 值={e}")
logger.error(traceback.format_exc()) # 打印详细的回溯信息