Skip to content

Commit

Permalink
json: fix grammar conversion typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Sep 27, 2024
1 parent 9295ca9 commit 27cd07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/json-schema-to-grammar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ std::string json_schema_to_grammar(const json & schema) {
return build_grammar([&](const llama_grammar_builder & callbacks) {
auto copy = schema;
callbacks.resolve_refs(copy);
callbacks.add_schema("root", copy);
callbacks.add_schema("", copy);
});
}

Expand Down

0 comments on commit 27cd07a

Please sign in to comment.