fix:移除冗余代码,丰富replyer log记录,表达方式改为replyer模型
This commit is contained in:
@@ -1582,30 +1582,6 @@ class DatabaseConfig(ConfigBase):
|
||||
"""
|
||||
|
||||
|
||||
class MaiSakaConfig(ConfigBase):
|
||||
"""MaiSaka 对话系统配置类"""
|
||||
|
||||
__ui_label__ = "MaiSaka"
|
||||
__ui_icon__ = "message-circle"
|
||||
cli_user_name: str = Field(
|
||||
default="用户",
|
||||
json_schema_extra={
|
||||
"x-widget": "input",
|
||||
"x-icon": "user",
|
||||
},
|
||||
)
|
||||
"""MaiSaka 使用的用户名称"""
|
||||
|
||||
show_image_path: bool = Field(
|
||||
default=True,
|
||||
json_schema_extra={
|
||||
"x-widget": "switch",
|
||||
"x-icon": "image",
|
||||
},
|
||||
)
|
||||
"""是否显示图片本地路径"""
|
||||
|
||||
|
||||
class MCPAuthorizationConfig(ConfigBase):
|
||||
"""MCP HTTP 认证配置。"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user