mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2026-06-29 16:52:02 +00:00
✨ 添加MCP服务器全局工作目录配置
This commit is contained in:
parent
38af060cb2
commit
b6af4ec334
4 changed files with 254 additions and 224 deletions
|
|
@ -48,6 +48,10 @@ class ScopedConfig(BaseModel):
|
|||
"你的回答应该尽量简洁、幽默、可以使用一些语气词、颜文字。你应该拒绝回答任何政治相关的问题。",
|
||||
description="默认提示词",
|
||||
)
|
||||
mcp_server_cwd: str | None = Field(
|
||||
None,
|
||||
description="command类型MCP服务器的全局工作目录(cwd)"
|
||||
)
|
||||
mcp_servers: dict[str, MCPServerConfig] = Field({}, description="MCP服务器配置")
|
||||
blacklist_user_ids: set[int] = Field(set(), description="黑名单用户ID列表")
|
||||
ignore_prefixes: list[str] = Field(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue