makecindy / makecindy/cindy

使用无多模态能力的模型(如 DS v4 flash)时识图导致整个会话卡死,且该模型在会话内无法继续使用

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

Description

**提交人**: CharOtacon
**客户端版本**: 0.1.28

---

## 现象

当使用没有多模态能力的模型(如 deepseek-v4-flash)时,如果在会话中发送图片(识图),整个会话会卡住,并提示:

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

之后在这个会话内,就无法再使用该模型了(会话被卡死,无法继续对话)。

## 复现步骤

1. 在会话中选择使用 deepseek-v4-flash 模型
2. 在会话中发送一张图片,触发识图
3. 会话卡住,显示上述错误提示
4. 之后在该会话内无法继续使用该模型,只能换模型或新建会话

## 期望行为

- 对于不支持多模态输入的模型,应优雅地拒绝识图请求并给出清晰的中文提示(如「当前模型不支持图片输入,请切换支持多模态的模型」),而不是卡死会话。
- 拒绝请求后,会话应保持可用,用户仍可继续用当前模型进行正常对话,不应当导致该模型在该会话内永久不可用。

## 实际行为

- 识图请求直接报错并卡住整个会话,之后该会话内无法再使用该模型,只能被迫新建会话或切换模型。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing the image-attachment request and the unsupported_feature response through chat-session error handling; reproduce the deepseek-v4-flash case, then verify that the request is rejected with a clear Chinese message and the same session can continue with text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.