feat:移除mood,但是加入mood_api

This commit is contained in:
SengokuCola
2025-09-25 18:23:10 +08:00
parent 1ef4938080
commit 85320f6d50
5 changed files with 89 additions and 5 deletions

View File

@@ -77,10 +77,6 @@ class HeartFCMessageReceiver:
heartflow_chat: HeartFChatting = await heartflow.get_or_create_heartflow_chat(chat.stream_id) # type: ignore
if global_config.mood.enable_mood:
chat_mood = mood_manager.get_mood_by_chat_id(heartflow_chat.stream_id)
asyncio.create_task(chat_mood.update_mood_by_message(message))
# 3. 日志记录
mes_name = chat.group_info.group_name if chat.group_info else "私聊"