Skip to content

Commit 27cd07a

Browse files
author
ochafik
committed
json: fix grammar conversion typo
1 parent 9295ca9 commit 27cd07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/json-schema-to-grammar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ std::string json_schema_to_grammar(const json & schema) {
10361036
return build_grammar([&](const llama_grammar_builder & callbacks) {
10371037
auto copy = schema;
10381038
callbacks.resolve_refs(copy);
1039-
callbacks.add_schema("root", copy);
1039+
callbacks.add_schema("", copy);
10401040
});
10411041
}
10421042

0 commit comments

Comments
 (0)