From 9880e3a0696430b0673c45ff3a57e63bd880f4b4 Mon Sep 17 00:00:00 2001 From: VJHack Date: Fri, 20 Sep 2024 14:56:03 -0500 Subject: [PATCH] changed error message wording --- 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 79acbaccaf60f..36db183b3aa21 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -1949,7 +1949,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. Enable context shift or increase the context length", ERROR_TYPE_SERVER); + send_error(slot, "Input is too large to process. Either enable context shift or increase the context length.", ERROR_TYPE_SERVER); continue; }