[Bugfix][Rust Frontend][Multimodal] Align DeepSeek V4.1 and Kimi K3 media with rendered placeholders (#56366)

Co-authored-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: reidliu41 <reid201711@gmail.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Reid
2026-09-14 10:37:59 +00:00
committed by GitHub
co-authored by Bugen Zhao Codex
parent 0ca7aef4e3
commit 7b1ea3f524
18 changed files with 415 additions and 85 deletions
+1
View File
@@ -252,6 +252,7 @@ impl ChatRenderer for FakeTextBackend {
fn render(&self, _request: &ChatRequest) -> vllm_chat::Result<RenderedPrompt> {
Ok(RenderedPrompt {
prompt: Prompt::Text(String::new()),
media_order: None,
effective_template_kwargs: Default::default(),
})
}
@@ -186,6 +186,7 @@ impl ChatRenderer for FakeChatBackend {
}
Ok(RenderedPrompt {
prompt: Prompt::Text(prompt),
media_order: None,
effective_template_kwargs: Default::default(),
})
}
+1
View File
@@ -540,6 +540,7 @@ impl ChatRenderer for FakeChatBackend {
}
Ok(vllm_chat::RenderedPrompt {
prompt: Prompt::Text(prompt),
media_order: None,
effective_template_kwargs: Default::default(),
})
}