diff options
Diffstat (limited to 'common/json-schema-to-grammar.h')
-rw-r--r-- | common/json-schema-to-grammar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/json-schema-to-grammar.h b/common/json-schema-to-grammar.h index e1abed30..41623b34 100644 --- a/common/json-schema-to-grammar.h +++ b/common/json-schema-to-grammar.h @@ -1,4 +1,8 @@ #pragma once + +#include "ggml.h" +// Change JSON_ASSERT from assert() to GGML_ASSERT: +#define JSON_ASSERT GGML_ASSERT #include "json.hpp" std::string json_schema_to_grammar(const nlohmann::ordered_json& schema); |