style: 格式化代码

This commit is contained in:
John Richard
2025-10-02 19:38:39 +08:00
committed by Windpicker-owo
parent e7aaafde2f
commit 00ba07e0e1
111 changed files with 2343 additions and 2316 deletions

View File

@@ -80,7 +80,9 @@ class Individuality:
full_personality = f"{personality_result}{identity_result}"
# 获取全局兴趣评分系统实例
from src.plugins.built_in.affinity_flow_chatter.interest_scoring import chatter_interest_scoring_system as interest_scoring_system
from src.plugins.built_in.affinity_flow_chatter.interest_scoring import (
chatter_interest_scoring_system as interest_scoring_system,
)
# 初始化智能兴趣系统
await interest_scoring_system.initialize_smart_interests(
@@ -110,7 +112,7 @@ class Individuality:
@staticmethod
def _get_config_hash(
bot_nickname: str, personality_core: str, personality_side: str, identity: str
bot_nickname: str, personality_core: str, personality_side: str, identity: str
) -> tuple[str, str]:
"""获取personality和identity配置的哈希值