Merge remote-tracking branch 'upstream/debug' into debug

This commit is contained in:
ChangingSelf
2025-03-13 18:55:42 +08:00
19 changed files with 648 additions and 116 deletions

View File

@@ -243,6 +243,7 @@ class ChatBot:
config=global_config,
is_emoji=message.is_emoji,
interested_rate=interested_rate,
sender_id=str(message.message_info.user_info.user_id),
)
current_willing = willing_manager.get_willing(chat_stream=chat)
@@ -273,6 +274,9 @@ class ChatBot:
willing_manager.change_reply_willing_sent(chat)
response, raw_content = await self.gpt.generate_response(message)
else:
# 决定不回复时,也更新回复意愿
willing_manager.change_reply_willing_not_sent(chat)
# print(f"response: {response}")
if response: