[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:
@@ -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(),
|
||||
})
|
||||
}
|
||||
|
||||
@@ -540,6 +540,7 @@ impl ChatRenderer for FakeChatBackend {
|
||||
}
|
||||
Ok(vllm_chat::RenderedPrompt {
|
||||
prompt: Prompt::Text(prompt),
|
||||
media_order: None,
|
||||
effective_template_kwargs: Default::default(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user