fix: gitee ai 配置 schema

This commit is contained in:
Junyan Qin
2024-11-22 20:01:35 +08:00
parent 18ba7d1da7
commit a81faa7d8e

View File

@@ -54,6 +54,15 @@
"type": "string"
},
"default": []
},
"gitee": {
"type": "array",
"title": "Gitee API 密钥",
"description": "Gitee API 密钥",
"items": {
"type": "string"
},
"default": []
}
}
},
@@ -160,6 +169,25 @@
"default": 600
}
}
},
"gitee-ai-chat-completions": {
"type": "object",
"title": "Gitee AI API 请求配置",
"description": "仅可编辑 URL 和 超时时间,额外请求参数不支持可视化编辑,请到编辑器编辑",
"properties": {
"base-url": {
"type": "string",
"title": "API URL"
},
"args": {
"type": "object"
},
"timeout": {
"type": "number",
"title": "API 请求超时时间",
"default": 120
}
}
}
}
},