makecindy / makecindy/cindy

Chat Completions 协议模型发送图片失败:input_image 不被 Responses→Chat Completions 桥接支持

Open
#3,306 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

### 环境

- 客户端:Windows 桌面版 Cindy
- 模型接入:自定义模型,走 Chat Completions 协议
- 日期:2026-08-24

### 复现步骤

1. 在电脑端对话框中粘贴一张图片
2. 回车发送
3. 当前会话使用的模型为 Chat Completions 协议接入

### 实际结果

请求失败并返回:

```json
{"error":{"type":"invalid_request_error","code":"unsupported_feature","message":"Responses feature is not supported by the Chat Completions bridge: input content part 'input_image'"}}
```

### 期望结果

带图消息应能在桥接层把 `input_image` 转换为 Chat Completions 的 `image_url` 内容块后正常送达模型;若暂不支持,也应在 UI 层提前提示,而不是发送后才报错。

### 分析(供参考)

宿主内部按 Responses API 格式构造多模态消息;Chat Completions 桥接未实现 `input_image` 的降级转换,导致所有带图消息在该协议下无法使用。

Contributor guide

Open the contributing guide

Research direction

Start by locating the Responses-to-Chat Completions bridge and its handling of the `input_image` content part, then reproduce the failure by sending an image from the desktop conversation UI. Done means image messages are converted to Chat Completions `image_url` blocks, or the UI warns before sending when conversion is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.