mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2026-01-29 09:17:27 +00:00
102 lines
3.7 KiB
JSON
102 lines
3.7 KiB
JSON
{
|
|
"//": "请不要修改以?开头的字段",
|
|
"?mode": "对话模式,mix为混合,ai为纯人工智能,keyword为纯关键词",
|
|
"mode": "mix",
|
|
"?baseApi": "请求基础api",
|
|
"baseApi": "https://api.siliconflow.cn/v1",
|
|
"?apiKey": "api密钥",
|
|
"apiKey": "",
|
|
"?modelType": "模型名称,请根据baseApi填写的服务商的对应的模型",
|
|
"modelType": "deepseek-ai/DeepSeek-V3.2-Exp",
|
|
"?multimodalEnabled": "是否启用多模态模型模式,启用后将忽略文本模型",
|
|
"multimodalEnabled": false,
|
|
"?smartMultimodal": "智能多模态模式,开启时只有文字用文本模型,有图片才用多模态模型",
|
|
"smartMultimodal": false,
|
|
"?multimodalModel": "多模态模型名称",
|
|
"multimodalModel": "Qwen/Qwen2.5-VL-72B-Instruct",
|
|
"?temperature": "聊天温度,可选0-2.0,温度越高创造性越高",
|
|
"temperature": 1.2,
|
|
"?concurrency": "最大同时聊天群数,一个群最多一个人聊天",
|
|
"concurrency": 3,
|
|
"?maxMix": "mix模式下,如果用户消息长度大于这个值,那么使用ai回复",
|
|
"maxMix": 5,
|
|
"?timeout": "记忆默认超时时间(天)",
|
|
"timeout": 30,
|
|
"?maxSessions": "最大同时存在的sessions群聊数量",
|
|
"maxSessions": 10,
|
|
"?chatHistory": "聊天上下文最大长度",
|
|
"chatHistory": 10,
|
|
"?maxMessageLength": "最大消息长度",
|
|
"maxMessageLength": 100,
|
|
"?getChatHistoryLength": "获取到的聊天上下文长度",
|
|
"getChatHistoryLength":20,
|
|
"?keywordCache": "是否缓存关键词到本地",
|
|
"keywordCache": true,
|
|
"?blockGroup": "禁用的群聊(黑名单)",
|
|
"blockGroup": [],
|
|
"?whiteGroup": "白名单群聊,存在该部分时,黑名单将被禁用",
|
|
"whiteGroup": [],
|
|
"?character": "回复表情包时的角色",
|
|
"character": "zhenxun",
|
|
"?botPersona": "机器人人设描述",
|
|
"botPersona": "你是一个名为晶灵的智能助手,性格温和友善,喜欢帮助用户解决问题.知识渊博,能够回答各种问题,偶尔会使用一些可爱的表情和语气.会记住与用户的对话内容,提供个性化的回复.",
|
|
"?codeRenderer": "代码渲染配置",
|
|
"codeRenderer": {
|
|
"theme": "github",
|
|
"fontSize": 14,
|
|
"lineNumbers": true,
|
|
"backgroundColor": "#f6f8fa"
|
|
},
|
|
"?markdownRenderer": "Markdown渲染配置",
|
|
"markdownRenderer": {
|
|
"theme": "dark",
|
|
"fontSize": 14,
|
|
"codeTheme": "github"
|
|
},
|
|
"?memeConfig": "表情配置",
|
|
"memeConfig": {
|
|
"character": "zhenxun",
|
|
"availableEmotions": [
|
|
"angry",
|
|
"bye",
|
|
"confused",
|
|
"default",
|
|
"good",
|
|
"goodmorning",
|
|
"goodnight",
|
|
"happy",
|
|
"sad",
|
|
"shy",
|
|
"sorry",
|
|
"surprise"
|
|
]
|
|
},
|
|
"?imageConfig": "图像生成配置",
|
|
"imageConfig": {
|
|
"?enabled": "是否启用图像生成功能",
|
|
"enabled": true,
|
|
"?imageMode": "图像生成模式: 'openai'使用/v1/images/generations接口, 'chat'使用对话式生图模型(如gemini-3-pro-image-preview)",
|
|
"imageMode": "openai",
|
|
"?model": "图像生成模型名称(支持gemini-3-pro-image-preview等)",
|
|
"model": "gemini-3-pro-image-preview",
|
|
"?baseApi": "图像生成API基础地址(不加v1后面的)",
|
|
"baseApi": "https://api.siliconflow.cn",
|
|
"?apiKey": "图像生成API密钥",
|
|
"apiKey": "",
|
|
"?timeout": "图像生成超时时间(豪秒)",
|
|
"timeout": 60000,
|
|
"?maxRetries": "最大重试次数",
|
|
"maxRetries": 3,
|
|
"?quality": "生成图像质量(standard/high)",
|
|
"quality": "standard",
|
|
"?style": "图像风格(natural/vivid)",
|
|
"style": "natural",
|
|
"?size": "生成图像尺寸(1024x1024/1792x1024/...)",
|
|
"size": "1024x1024",
|
|
"?responseFormat": "响应格式(url/b64_json)",
|
|
"responseFormat": "url",
|
|
"?modalities": "模态类型(text/image)",
|
|
"modalities": ["text", "image"]
|
|
}
|
|
}
|