feat: add supports for volcengine (#1114)

This commit is contained in:
Junyan Qin
2025-02-23 22:42:20 +08:00
parent 8f5da1677b
commit 1f08082a58
6 changed files with 86 additions and 2 deletions
+8
View File
@@ -28,6 +28,9 @@
],
"bailian": [
"sk-xxxxxxx"
],
"volcengine": [
"xxxxxxxx"
]
},
"requester": {
@@ -87,6 +90,11 @@
"args": {},
"base-url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"timeout": 120
},
"volcengine-chat-completions": {
"args": {},
"base-url": "https://ark.cn-beijing.volces.com/api/v3",
"timeout": 120
}
},
"model": "gpt-4o",
+28
View File
@@ -90,6 +90,14 @@
"type": "string"
},
"default": []
},
"volcengine": {
"type": "array",
"title": "火山引擎大模型平台 API 密钥",
"items": {
"type": "string"
},
"default": []
}
}
},
@@ -316,6 +324,26 @@
"default": 120
}
}
},
"volcengine-chat-completions": {
"type": "object",
"title": "火山方舟大模型平台 API 请求配置",
"description": "仅可编辑 URL 和 超时时间,额外请求参数不支持可视化编辑,请到编辑器编辑",
"properties": {
"base-url": {
"type": "string",
"title": "API URL"
},
"args": {
"type": "object",
"default": {}
},
"timeout": {
"type": "number",
"title": "API 请求超时时间",
"default": 120
}
}
}
}
},