适配无兴趣度消息

pull/1118/head
A0000Xz 2025-07-17 20:15:02 +08:00 committed by GitHub
parent 5692d708c1
commit 3366fbc479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ class HeartFChatting:
"兴趣"模式下判断是否回复并生成内容
"""
interested_rate = message_data.get("interest_value", 0.0) * self.willing_amplifier
interested_rate = (message_data.get("interest_value") or 0.0) * self.willing_amplifier
self.willing_manager.setup(message_data, self.chat_stream)