Skip to content

Commit 54910bd

Browse files
authored
completion : Fix a typo in warning message (ggml-org#20082)
resuse -> reuse
1 parent ecd99d6 commit 54910bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/completion/completion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ int main(int argc, char ** argv) {
376376
// remove any "future" tokens that we might have inherited from the previous session
377377
if (session_tokens.size() > n_match) {
378378
if (!llama_memory_seq_rm(mem, -1, n_match, -1)) {
379-
LOG_WRN("%s: unable to resuse common prefix (for example, when the memory is recurrent)\n", __func__);
379+
LOG_WRN("%s: unable to reuse common prefix (for example, when the memory is recurrent)\n", __func__);
380380
llama_memory_clear(mem, true);
381381
session_tokens.clear();
382382
n_match = 0;

0 commit comments

Comments
 (0)