mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-03 12:34:37 +00:00
112 lines
2.6 KiB
JSON
112 lines
2.6 KiB
JSON
{
|
|
"type": "object",
|
|
"layout": "expansion-panels",
|
|
"properties": {
|
|
"admin-sessions": {
|
|
"type": "array",
|
|
"title": "管理员会话",
|
|
"description": "",
|
|
"items": {
|
|
"type": "string",
|
|
"format": "regex",
|
|
"pattern": "^(person|group)_(\\d)*$"
|
|
}
|
|
},
|
|
"network-proxies": {
|
|
"type": "object",
|
|
"title": "网络代理",
|
|
"properties": {
|
|
"http": {
|
|
"type": "string"
|
|
},
|
|
"https": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"report-usage": {
|
|
"type": "boolean",
|
|
"title": "是否上报遥测数据",
|
|
"layout": {
|
|
"comp": "switch",
|
|
"props": {
|
|
"color": "primary"
|
|
}
|
|
}
|
|
},
|
|
"logging-level": {
|
|
"type": "string",
|
|
"title": "日志等级"
|
|
},
|
|
"session-concurrency": {
|
|
"type": "object",
|
|
"title": "会话并行消息数",
|
|
"properties": {
|
|
"default": {
|
|
"type": "integer",
|
|
"title": "会话默认并行消息数"
|
|
}
|
|
},
|
|
"patternProperties": {
|
|
"^(person|group).*$": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"pipeline-concurrency": {
|
|
"type": "integer",
|
|
"title": "全局并行消息数"
|
|
},
|
|
"qcg-center-url": {
|
|
"type": "string",
|
|
"title": "遥测服务器地址"
|
|
},
|
|
"help-message": {
|
|
"type": "string",
|
|
"title": "help 命令消息",
|
|
"layout": "textarea"
|
|
},
|
|
"http-api": {
|
|
"type": "object",
|
|
"title": "HTTP 接口",
|
|
"properties": {
|
|
"enable": {
|
|
"type": "boolean",
|
|
"layout": {
|
|
"comp": "switch",
|
|
"props": {
|
|
"color": "primary"
|
|
}
|
|
},
|
|
"title": "是否启用"
|
|
},
|
|
"host": {
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"persistence": {
|
|
"type": "object",
|
|
"title": "持久化设置",
|
|
"properties": {
|
|
"sqlite": {
|
|
"type": "object",
|
|
"title": "sqlite",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"use": {
|
|
"type": "string",
|
|
"title": "所使用的数据库",
|
|
"enum": ["sqlite"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |