From 2f2e4b35a65f54dd3f264ff5b456d76d7e39403a Mon Sep 17 00:00:00 2001 From: VJHack Date: Fri, 20 Sep 2024 08:48:59 -0500 Subject: [PATCH] Fixed error message to say 'enable context shift' --- examples/server/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/server.cpp b/examples/server/server.cpp index cf395830b..2b10469b1 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -1950,7 +1950,7 @@ struct server_context { // context shift is disabled and prompt is too large - discard it if (!params.ctx_shift && slot.n_prompt_tokens > slot.n_ctx ){ slot.release(); - send_error(slot, "Input is too large to process. Either disable context shift or increase context length. ", ERROR_TYPE_SERVER); + send_error(slot, "input is too large to process. enable context shift or increase the context length", ERROR_TYPE_SERVER); continue; }