mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-08-12 22:29:39 +04:00
Normalize disabled context-shift overflow error (#2051)
This commit is contained in:
@@ -3386,7 +3386,7 @@ void server_context::context_shift() {
|
||||
// we should never get here, because generation should already stopped in process_token()
|
||||
slot.print_timings();
|
||||
slot.release();
|
||||
send_error(slot, "context shift is disabled", ERROR_TYPE_SERVER);
|
||||
send_error(slot, "context_length_exceeded: the request exceeds the available context size; context shift is disabled", ERROR_TYPE_SERVER);
|
||||
continue;
|
||||
}
|
||||
// Shift context
|
||||
|
||||
Reference in New Issue
Block a user