fix warning

This commit is contained in:
Michal Moskal 2025-01-26 12:33:11 -08:00
parent 08fefd1d7c
commit 1afc53a338

View file

@ -995,6 +995,8 @@ std::string json_schema_to_grammar(const json & schema, bool force_gbnf) {
if (!force_gbnf) {
return "%llguidance {}\nstart: %json " + schema.dump();
}
#else
(void)force_gbnf;
#endif // LLAMA_USE_LLGUIDANCE
return build_grammar([&](const llama_grammar_builder & callbacks) {
auto copy = schema;