JSON: [key] -> .at(key), assert() -> GGML_ASSERT (#7143)
This commit is contained in:
parent
9da243b36a
commit
c12452c7ae
5 changed files with 56 additions and 45 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue