From 9dacac3b1520c0500b0992ff9674b0338a371d4d Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Tue, 27 Aug 2024 15:18:47 +0200 Subject: [PATCH] add_special_tokens is internal only --- router/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/src/lib.rs b/router/src/lib.rs index fd07840b..979f6dd1 100644 --- a/router/src/lib.rs +++ b/router/src/lib.rs @@ -1086,7 +1086,7 @@ pub(crate) struct GenerateRequest { /// This is used internally because some requests /// already contain the templated input therefore /// we shouldn't add the special tokens. - #[serde(default = "default_true")] + #[serde(default = "default_true", skip)] pub add_special_tokens: bool, }