mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2026-02-05 11:38:05 +00:00
✨ 支持用户黑名单 #20
This commit is contained in:
parent
ed1b9792e7
commit
6f69cc3cff
3 changed files with 6 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ class ScopedConfig(BaseModel):
|
|||
description="默认提示词",
|
||||
)
|
||||
mcp_servers: dict[str, MCPServerConfig] = Field({}, description="MCP服务器配置")
|
||||
blacklist_user_ids: set[int] = Field(set(), description="黑名单用户ID列表")
|
||||
|
||||
|
||||
class Config(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue