From: Daniel Bevenius Date: Wed, 12 Feb 2025 07:40:01 +0000 (+0100) Subject: llama : fix typo in llama-grammar.h [no ci] (#11816) X-Git-Tag: upstream/0.0.4719~28 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=369be5598ac5f71f6aa6d6606e9aec769a23dafa;p=pkg%2Fggml%2Fsources%2Fllama.cpp llama : fix typo in llama-grammar.h [no ci] (#11816) --- diff --git a/src/llama-grammar.h b/src/llama-grammar.h index 252d54d4..b143d834 100644 --- a/src/llama-grammar.h +++ b/src/llama-grammar.h @@ -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