default compat_return_full_text to true

This commit is contained in:
OlivierDehaene 2024-02-21 14:49:25 +01:00
parent 08827bef2e
commit c1bdca91c2

View File

@ -270,7 +270,7 @@ async fn main() -> Result<(), RouterError> {
let compat_return_full_text = match &model_info.pipeline_tag {
None => {
tracing::warn!("no pipeline tag found for model {tokenizer_name}");
false
true
}
Some(pipeline_tag) => pipeline_tag.as_str() == "text-generation",
};