add_special_tokens is internal only

This commit is contained in:
Nicolas Patry 2024-08-27 15:18:47 +02:00
parent 55d984d730
commit 9dacac3b15
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -1086,7 +1086,7 @@ pub(crate) struct GenerateRequest {
/// This is used internally because some requests /// This is used internally because some requests
/// already contain the templated input therefore /// already contain the templated input therefore
/// we shouldn't add the special tokens. /// we shouldn't add the special tokens.
#[serde(default = "default_true")] #[serde(default = "default_true", skip)]
pub add_special_tokens: bool, pub add_special_tokens: bool,
} }