cc10143
cc10143
问题定位 核心 bug 在 internal/transformer/request.go:377-379: case "image": // Images not supported in text-only models, skip textParts = append(textParts, "[Image]") 当 Anthropic 请求中包含 type: "image" 的 content block 时(base64 图片数据),转换器直接把图片数据丢弃,替换成 "[Image]"...
补充一个代理层格式转换的兼容性问题(Haiku 4.5 路由到上游模型时触发): ``` API Error: 400 3 request validation errors: 1. Extra inputs are not permitted: messages[0].cache_control 2. Input should be a valid string: messages[1].content.str value: [{'text': '...', 'type':...
Closing: root cause is an OpenCode Go service limitation, not a CC Switch bug. OpenCode Go only exposes DeepSeek models through /v1/chat/completions (OpenAI format), not through /v1/messages (Anthropic format). The...