Update think_flow_chat.py

This commit is contained in:
SengokuCola
2025-04-03 22:21:47 +08:00
parent 10a72b489e
commit 62926d484c

View File

@@ -196,7 +196,7 @@ class ThinkFlowChat:
# 计算回复意愿 # 计算回复意愿
current_willing_old = willing_manager.get_willing(chat_stream=chat) current_willing_old = willing_manager.get_willing(chat_stream=chat)
current_willing_new = (heartflow.get_subheartflow(chat.stream_id).current_state.willing - 5) / 4 # current_willing_new = (heartflow.get_subheartflow(chat.stream_id).current_state.willing - 5) / 4
# current_willing = (current_willing_old + current_willing_new) / 2 # current_willing = (current_willing_old + current_willing_new) / 2
# 有点bug # 有点bug
current_willing = current_willing_old current_willing = current_willing_old