completion : Fix a typo in warning message (#20082)

resuse -> reuse
This commit is contained in:
standby24x7 2026-03-04 14:44:49 +09:00 committed by GitHub
parent ecd99d6a9a
commit 54910bd4f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ int main(int argc, char ** argv) {
// remove any "future" tokens that we might have inherited from the previous session
if (session_tokens.size() > n_match) {
if (!llama_memory_seq_rm(mem, -1, n_match, -1)) {
LOG_WRN("%s: unable to resuse common prefix (for example, when the memory is recurrent)\n", __func__);
LOG_WRN("%s: unable to reuse common prefix (for example, when the memory is recurrent)\n", __func__);
llama_memory_clear(mem, true);
session_tokens.clear();
n_match = 0;