style: 格式化代码
This commit is contained in:
@@ -84,7 +84,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(
|
||||
@@ -114,7 +116,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配置的哈希值
|
||||
|
||||
|
||||
Reference in New Issue
Block a user