mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-11 13:30:35 +00:00
changed error message wording
This commit is contained in:
parent
0cabcbe588
commit
9880e3a069
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user