[GH-ISSUE #8] 使用claude cli 选择图片后不进vision #6

Closed
opened 2026-03-13 14:17:31 +03:00 by kerem · 2 comments
Owner

Originally created by @Inighty on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/7836246/cursor2api/issues/8

最新代码 没有打印vision日志 是为什么

Originally created by @Inighty on GitHub (Mar 6, 2026). Original GitHub issue: https://github.com/7836246/cursor2api/issues/8 最新代码 没有打印vision日志 是为什么
kerem closed this issue 2026-03-13 14:17:36 +03:00
Author
Owner

@7836246 commented on GitHub (Mar 6, 2026):

只有两种情况会触发 vision 日志:

通过 Anthropic /v1/messages 接口发送的请求中,用户消息直接包含 type: 'image' 块
通过 OpenAI /v1/chat/completions 接口发送的请求中,image_url 类型的内容会被

extractOpenAIContentBlocks
转换为 type: 'image' 块

<!-- gh-comment-id:4009729960 --> @7836246 commented on GitHub (Mar 6, 2026): 只有两种情况会触发 vision 日志: 通过 Anthropic /v1/messages 接口发送的请求中,用户消息直接包含 type: 'image' 块 通过 OpenAI /v1/chat/completions 接口发送的请求中,image_url 类型的内容会被 extractOpenAIContentBlocks 转换为 type: 'image' 块
Author
Owner

@7836246 commented on GitHub (Mar 6, 2026):

Image 插件里面 我是没问题 你再试试

<!-- gh-comment-id:4009801961 --> @7836246 commented on GitHub (Mar 6, 2026): <img width="622" height="614" alt="Image" src="https://github.com/user-attachments/assets/19b1ac8f-c8f1-4652-bfcc-e12d91e605b0" /> 插件里面 我是没问题 你再试试
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cursor2api#6
No description provided.