Skip to content

Commit 2f2e4b3

Browse files
committed
Fixed error message to say 'enable context shift'
1 parent 5688864 commit 2f2e4b3

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
@@ -1950,7 +1950,7 @@ struct server_context {
19501950
// context shift is disabled and prompt is too large - discard it
19511951
if (!params.ctx_shift && slot.n_prompt_tokens > slot.n_ctx ){
19521952
slot.release();
1953-
send_error(slot, "Input is too large to process. Either disable context shift or increase context length. ", ERROR_TYPE_SERVER);
1953+
send_error(slot, "input is too large to process. enable context shift or increase the context length", ERROR_TYPE_SERVER);
19541954
continue;
19551955
}
19561956

0 commit comments

Comments
 (0)