mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-04-21 16:01:33 +08:00
feat(zhipu): switch to anthropic-messages endpoint and split embedding provider
- zhipu (chat/reasoning/vision): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages 启用 Anthropic 协议的 thinking 字段以支持 GLM 深度思考流式输出 - zhipu-embedding (new): 独立承载 embedding-3, 保留 /api/paas/v4 + openai-completions Anthropic 协议不提供 /embeddings 端点 - zhipu-coding (Coding Plan): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages 与非套餐端点共用同一协议, 计费维度由 API Key 区分 - bump presetDataVersion 17 -> 18
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
"provider": "zhipu",
|
||||
"brandGroup": "zhipu",
|
||||
"label": "智谱 Coding Plan",
|
||||
"baseUrl": "https://open.bigmodel.cn/api/coding/paas/v4",
|
||||
"apiFormat": "openai-completions",
|
||||
"baseUrl": "https://open.bigmodel.cn/api/anthropic",
|
||||
"apiFormat": "anthropic-messages",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
|
||||
Reference in New Issue
Block a user