Normalize disabled context-shift overflow error (#2051)

This commit is contained in:
Jun Yamog 2026-06-29 18:30:05 +12:00 committed by GitHub
parent d8bb57d644
commit 33dabeae21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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