From 4bac76241d631ead4c15c0257a61092ab9a141d6 Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Mon, 21 Aug 2023 11:10:57 +0300 Subject: [PATCH] Update server.rs --- router/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/src/server.rs b/router/src/server.rs index 0b52bdde..bc68d210 100644 --- a/router/src/server.rs +++ b/router/src/server.rs @@ -129,7 +129,7 @@ example = json ! ({"error": "Input validation error"})), (status = 500, description = "Incomplete generation", body = ErrorResponse, example = json ! ({"error": "Incomplete generation"})), ), -params(("max_input_length" = usize, Path, description = "This is the maximum allowed input +params(("max_input_length" = usize, description = "This is the maximum allowed input length (expressed in number of tokens) for users. The larger this value, the longer prompt users can send which can impact the overall memory required to handle the load. Please note that some models have a finite range of sequence they can handle.")),