feat:可自定义planner行为

This commit is contained in:
SengokuCola
2025-09-12 00:15:17 +08:00
parent 298a74da64
commit fb587f6475
5 changed files with 24 additions and 24 deletions

View File

@@ -46,6 +46,12 @@ class PersonalityConfig(ConfigBase):
interest: str = ""
"""兴趣"""
plan_style: str = ""
"""说话规则,行为风格"""
visual_style: str = ""
"""图片提示词"""
@dataclass
@@ -385,14 +391,6 @@ class KeywordReactionConfig(ConfigBase):
raise ValueError(f"规则必须是KeywordRuleConfig类型而不是{type(rule).__name__}")
@dataclass
class CustomPromptConfig(ConfigBase):
"""自定义提示词配置类"""
image_prompt: str = ""
"""图片提示词"""
@dataclass
class ResponsePostProcessConfig(ConfigBase):
"""回复后处理配置类"""