From ad0f83ead5d041d167deaf7fb54011643697b34a Mon Sep 17 00:00:00 2001 From: xieyuanxiang <124608760@qq.com> Date: Mon, 27 Apr 2026 23:49:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20MiniMax=20=E5=88=87=E6=8D=A2=E4=B8=BA=20?= =?UTF-8?q?Anthropic=20=E6=B6=88=E6=81=AF=E6=A0=BC=E5=BC=8F=20+=20mediaBas?= =?UTF-8?q?eUrl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - apiFormat: openai-completions → anthropic-messages - baseUrl: api.minimaxi.com/v1 → api.minimaxi.com/anthropic - 新增 mediaBaseUrl: api.minimaxi.com/v1(媒体 API 专用) 解决 pi-ai 注册表 api 字段与 compute.json apiFormat 冲突, 导致 chat 请求路径拼接为 /v1/v1/messages 而 404 的问题。 --- compute/providers/minimax.json | 5 +++-- manifest.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/compute/providers/minimax.json b/compute/providers/minimax.json index 5114fe4..ec2207f 100644 --- a/compute/providers/minimax.json +++ b/compute/providers/minimax.json @@ -2,8 +2,9 @@ "id": "provider-minimax-001", "provider": "minimax", "label": "MiniMax", - "baseUrl": "https://api.minimaxi.com/v1", - "apiFormat": "openai-completions", + "baseUrl": "https://api.minimaxi.com/anthropic", + "apiFormat": "anthropic-messages", + "mediaBaseUrl": "https://api.minimaxi.com/v1", "apiKeyRef": "minimax", "apiKeyVerified": false, "enabled": false, diff --git a/manifest.json b/manifest.json index 6d6c435..4f9220e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 33, + "presetDataVersion": 34, "updatedAt": "2026-04-27", "description": "DesireCore 官方配置中心" }