better 更好的logger格式

This commit is contained in:
SengokuCola
2025-03-21 16:24:28 +08:00
parent 432104f582
commit 7c50e33369
6 changed files with 73 additions and 48 deletions

View File

@@ -154,7 +154,7 @@ class ChatBot:
)
# 开始思考的时间点
thinking_time_point = round(time.time(), 2)
logger.info(f"开始思考的时间点: {thinking_time_point}")
# logger.debug(f"开始思考的时间点: {thinking_time_point}")
think_id = "mt" + str(thinking_time_point)
thinking_message = MessageThinking(
message_id=think_id,