diff --git a/templates/schema/provider.json b/templates/schema/provider.json index 6b214233..e1d50246 100644 --- a/templates/schema/provider.json +++ b/templates/schema/provider.json @@ -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 + } + } } } },