mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2026-05-13 12:02:50 +00:00
✨ 添加定时任务创建与提醒能力
This commit is contained in:
parent
3def80b047
commit
b8cf6ea152
4 changed files with 754 additions and 4 deletions
|
|
@ -55,6 +55,11 @@ class ScopedConfig(BaseModel):
|
|||
)
|
||||
enable_private_chat: bool = Field(False, description="是否启用私聊功能")
|
||||
private_chat_preset: str = Field("off", description="私聊默认使用的预设名称")
|
||||
scheduler_max_retry: int = Field(5, description="定时任务AI调用最大重试次数")
|
||||
scheduler_default_reminder: str = Field(
|
||||
"您设置的提醒时间到了:{description}",
|
||||
description="AI调用失败时的默认提醒模板"
|
||||
)
|
||||
|
||||
|
||||
class Config(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue