Skip to content

Commit

Permalink
changed error message wording
Browse files Browse the repository at this point in the history
  • Loading branch information
VJHack committed Sep 20, 2024
1 parent 0cabcbe commit 9880e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9880e3a

Please sign in to comment.