mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-12-06 03:20:26 +08:00
fix(schema): allow mediaBaseUrl in provider schema
This commit is contained in:
1 parent
7ac60f9c3c
commit
f29e6966dc
2 files changed
+4
-14
No files matched your search
@@ -41,6 +41,10 @@
|
||||
"type": "string",
|
||||
"description": "API 协议格式:openai-completions、anthropic-messages、openai-responses、google-generative-ai 等"
|
||||
},
|
||||
"mediaBaseUrl": {
|
||||
"type": "string",
|
||||
"description": "媒体 API 基础 URL。当 provider 使用 Anthropic 格式(baseUrl 指向 /anthropic 端点)但其媒体 API(图片/语音/视频/音乐)仍走 OpenAI /v1 端点时使用"
|
||||
},
|
||||
"apiKeyRef": {
|
||||
"type": "string",
|
||||
"description": "密钥引用名,对应 secrets.json 中的 key;空字符串表示未配置密钥"
|
||||
|
||||
Reference in new issue
Block a user