mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Update router/src/lib.rs
This commit is contained in:
parent
ecd00d56d6
commit
7182d5de83
@ -928,7 +928,7 @@ mod message_content_serde {
|
||||
"text" => Ok(content.text.unwrap_or_default()),
|
||||
"image_url" => {
|
||||
if let Some(url) = content.image_url {
|
||||
Ok(format!("\n", url.url))
|
||||
Ok(format!("", url.url))
|
||||
} else {
|
||||
Ok(String::new())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user