delete newlines

This commit is contained in:
ErikKaumk 2024-07-12 14:47:17 +02:00
parent 3a1482720f
commit 30ce9e0426

View File

@ -295,9 +295,6 @@ async fn main() -> Result<(), RouterError> {
) )
} }
}; };
let config: Option<Config> = config_filename.and_then(|filename| { let config: Option<Config> = config_filename.and_then(|filename| {
std::fs::read_to_string(filename) std::fs::read_to_string(filename)
.ok() .ok()
@ -355,7 +352,6 @@ async fn main() -> Result<(), RouterError> {
tracing::warn!("Rust input length validation and truncation is disabled"); tracing::warn!("Rust input length validation and truncation is disabled");
} }
// if pipeline-tag == text-generation we default to return_full_text = true // if pipeline-tag == text-generation we default to return_full_text = true
let compat_return_full_text = match &model_info.pipeline_tag { let compat_return_full_text = match &model_info.pipeline_tag {
None => { None => {