diff --git a/examples/server/server-context.cpp b/examples/server/server-context.cpp index aa9abf0d..66695af0 100644 --- a/examples/server/server-context.cpp +++ b/examples/server/server-context.cpp @@ -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