]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : fix typo in llama-grammar.h [no ci] (#11816)
authorDaniel Bevenius <redacted>
Wed, 12 Feb 2025 07:40:01 +0000 (08:40 +0100)
committerGitHub <redacted>
Wed, 12 Feb 2025 07:40:01 +0000 (09:40 +0200)
src/llama-grammar.h

index 252d54d4c9f45f7dbe736807c87eb989aae9e902..b143d834cfabe621003cef5b169872167940bf53 100644 (file)
@@ -116,7 +116,7 @@ struct llama_grammar {
     llama_partial_utf8 partial_utf8;
 
     // lazy grammars wait for trigger words or tokens before constraining the sampling.
-    // we still ahve trigger_tokens for non-lazy grammars to force printing of special trigger tokens.
+    // we still have trigger_tokens for non-lazy grammars to force printing of special trigger tokens.
     // (useful e.g. for tool_choice=required)
     bool                     lazy             = false;
     bool                     awaiting_trigger = false; // Initialized to true for lazy grammars only