Skip to content

Commit 01be080

Browse files
ochafikggerganov
andauthored
Update src/llama-grammar.cpp
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 92e9723 commit 01be080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-grammar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ void llama_grammar_accept_impl(struct llama_grammar & grammar, llama_token token
11821182
// std::string constrained_str(match[1].first, grammar.trigger_buffer.end());
11831183
grammar.trigger_buffer.clear();
11841184
llama_grammar_accept_str(grammar, constrained_str);
1185-
LLAMA_LOG_DEBUG("Grammar triggered on regex: %s", constrained_str.c_str());
1185+
LLAMA_LOG_DEBUG("Grammar triggered on regex: '%s'\n", constrained_str.c_str());
11861186
return;
11871187
}
11881188
}

0 commit comments

Comments
 (0)