Skip to content

Commit 9880e3a

Browse files
committed
changed error message wording
1 parent 0cabcbe commit 9880e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ struct server_context {
19491949
// context shift is disabled and prompt is too large - discard it
19501950
if (!params.ctx_shift && (slot.n_prompt_tokens > slot.n_ctx) ){
19511951
slot.release();
1952-
send_error(slot, "Input is too large to process. Enable context shift or increase the context length", ERROR_TYPE_SERVER);
1952+
send_error(slot, "Input is too large to process. Either enable context shift or increase the context length.", ERROR_TYPE_SERVER);
19531953
continue;
19541954
}
19551955

0 commit comments

Comments
 (0)