better:简化人格构建逻辑

This commit is contained in:
SengokuCola
2025-08-22 16:47:59 +08:00
parent d9bd8a10cb
commit 6e012d5cbf
14 changed files with 27 additions and 1066 deletions

View File

@@ -48,13 +48,10 @@ class PersonalityConfig(ConfigBase):
"""表达风格"""
plan_style: str = ""
"""行为风格"""
compress_personality: bool = True
"""是否压缩人格压缩后会精简人格信息节省token消耗并提高回复性能但是会丢失一些信息如果人设不长可以关闭"""
compress_identity: bool = True
"""是否压缩身份压缩后会精简身份信息节省token消耗并提高回复性能但是会丢失一些信息如果不长可以关闭"""
interest: str = ""
"""兴趣"""
@dataclass
class RelationshipConfig(ConfigBase):