diff --git a/tools/completion/completion.cpp b/tools/completion/completion.cpp index aed2c0e38f..e13816f735 100644 --- a/tools/completion/completion.cpp +++ b/tools/completion/completion.cpp @@ -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;