mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2025-09-06 19:40:44 +00:00
🔨 use nonebot_plugin_localstore to save data
This commit is contained in:
parent
b19e13b6b4
commit
a87d3e64ff
4 changed files with 17 additions and 9 deletions
|
@ -18,7 +18,6 @@ class ScopedConfig(BaseModel):
|
|||
request_timeout: int = Field(30, description="API请求超时时间(秒)")
|
||||
default_preset: str = Field("off", description="默认使用的预设名称")
|
||||
random_trigger_prob: float = Field(0.05, ge=0.0, le=1.0, description="随机触发概率(0-1]")
|
||||
storage_path: str = Field("data/llmchat_state.json", description="状态存储文件路径")
|
||||
default_prompt: str = Field("你的回答应该尽量简洁、幽默、可以使用一些语气词、颜文字。你应该拒绝回答任何政治相关的问题。", description="默认提示词")
|
||||
|
||||
class Config(BaseModel):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue