Skip to content

Commit

Permalink
fix: gitee ai 配置 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Nov 22, 2024
1 parent 18ba7d1 commit a81faa7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions templates/schema/provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@
"type": "string"
},
"default": []
},
"gitee": {
"type": "array",
"title": "Gitee API 密钥",
"description": "Gitee API 密钥",
"items": {
"type": "string"
},
"default": []
}
}
},
Expand Down Expand Up @@ -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
}
}
}
}
},
Expand Down

0 comments on commit a81faa7

Please sign in to comment.