]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
completion : Fix a typo in warning message (#20082)
authorstandby24x7 <redacted>
Wed, 4 Mar 2026 05:44:49 +0000 (14:44 +0900)
committerGitHub <redacted>
Wed, 4 Mar 2026 05:44:49 +0000 (06:44 +0100)
resuse -> reuse

tools/completion/completion.cpp

index aed2c0e38fb45e7bda66a4ee905e6f7564d90230..e13816f735e99610f8d5505963c9639bff175580 100644 (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;