添加决策器自定义提示词功能,允许用户启用并设置自定义提示词内容
This commit is contained in:
@@ -184,6 +184,12 @@ class ChatConfig(ConfigBase):
|
||||
|
||||
group_chat_mode: Literal["auto", "normal", "focus"] = "auto"
|
||||
"""群聊聊天模式设置:auto-自动切换,normal-强制普通模式,focus-强制专注模式"""
|
||||
|
||||
planner_custom_prompt_enable: bool = False
|
||||
"""是否启用决策器自定义提示词"""
|
||||
|
||||
planner_custom_prompt_content: str = ""
|
||||
"""决策器自定义提示词内容,仅在planner_custom_prompt_enable为True时生效"""
|
||||
|
||||
def get_current_talk_frequency(self, chat_stream_id: Optional[str] = None) -> float:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user