[Bugfix][Multimodal] Preserve DeepSeek V4 image block spacing (#56882)
Signed-off-by: Xucheng Zhou <aden1350@outlook.com> Signed-off-by: Isotr0py <Isotr0py@outlook.com> Co-authored-by: OpenAI Codex <noreply@openai.com> Co-authored-by: Isotr0py <Isotr0py@outlook.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
OpenAI Codex
Isotr0py
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
04a3a00eb7
commit
cc09352e5c
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"thinking_mode": "thinking",
|
||||
"reasoning_effort": "max",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "You are a helpful vision assistant."
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "请按“第一张、第二张”的顺序回答:第一张图"
|
||||
},
|
||||
{
|
||||
"type": "image_url",
|
||||
"image_url": {
|
||||
"url": "examples/images/carrots.jpeg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"text": "和第二张图"
|
||||
},
|
||||
{
|
||||
"type": "image_url",
|
||||
"image_url": {
|
||||
"url": "examples/images/corn.jpeg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"text": "中分别是什么食材?它们通常食用的部位分别是什么?"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<|begin▁of▁sentence|>You are a helpful vision assistant.<|User|>请按“第一张、第二张”的顺序回答:第一张图
|
||||
|
||||
<|deepseek_image|>
|
||||
|
||||
和第二张图
|
||||
|
||||
<|deepseek_image|>
|
||||
|
||||
中分别是什么食材?它们通常食用的部位分别是什么?<|Assistant|></think>
|
||||
Reference in New Issue
Block a user