Replies: 1 comment 1 reply
|
这个根因与 pinned rc.2
当前可立即验证的最小恢复是: llm-pi-ai:
providers:
minimax-openai-cn:
displayName: MiniMax OpenAI CN
apiKeyEnv: MINIMAX_API_KEY
api: openai-completions
baseURL: https://api.minimax.cn/v1
models:
- id: MiniMax-M3建议使用独立 id,而不是继续复用 取证时不需要公开 key,只记录:provider dict key、 我赞成你提出的“碰撞警告 + UI 显式协议”方向,但不建议全局取消 catalog reuse:Bedrock/Vertex/Codex 等 catalog provider 可能拥有通用 profile 无法重建的认证和实现状态。更稳妥的 acceptance gate 是:省略 api 保持向后兼容;显式 api 强制选择协议;catalog id + changed baseURL + omitted api 在 authoring surface 明确警告;测试断言最终 wire path。 完整决策矩阵、验证字段和 rollback: |
Uh oh!
There was an error while loading. Please reload this page.
Summary
When creating a custom provider whose id is
minimaxand omitting theapifield, DSH silently reuses the built-in catalog provider.As a result, the custom OpenAI-compatible endpoint is routed through the built-in Anthropic provider.
Expected:
POST /v1/chat/completions
Actual:
POST /v1/messages
This results in:
when using MiniMax's OpenAI-compatible API.
Reproduction
Select
MiniMax-M3.Send a message.
DSH sends:
instead of
Root Cause
buildProvider()currently contains:Because the custom provider id collides with a built-in catalog provider, the OpenAI-compatible provider is never instantiated.
Proposed Fix
reuseCatalogProvider()for backward compatibility.I implemented this locally and verified that:
/v1/chat/completionsis used correctly.提交给deek官方的.zip
All reactions