mirror of
https://github.com/7836246/cursor2api.git
synced 2026-04-26 11:35:57 +03:00
[GH-ISSUE #8] 使用claude cli 选择图片后不进vision #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cursor2api#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Inighty on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/7836246/cursor2api/issues/8
最新代码 没有打印vision日志 是为什么
@7836246 commented on GitHub (Mar 6, 2026):
只有两种情况会触发 vision 日志:
通过 Anthropic /v1/messages 接口发送的请求中,用户消息直接包含 type: 'image' 块
通过 OpenAI /v1/chat/completions 接口发送的请求中,image_url 类型的内容会被
extractOpenAIContentBlocks
转换为 type: 'image' 块
@7836246 commented on GitHub (Mar 6, 2026):