添加定时任务创建与提醒能力

This commit is contained in:
slexce 2026-03-10 21:18:46 +08:00
parent 3def80b047
commit b8cf6ea152
4 changed files with 754 additions and 4 deletions

View file

@ -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):