common : remove json.hpp from common.cpp (#12697)
* common : remove json.hpp from common.cpp * fix comment
This commit is contained in:
parent
9bacd6b374
commit
42eb248f46
4 changed files with 34 additions and 38 deletions
|
@ -121,10 +121,6 @@ struct common_grammar_trigger {
|
|||
common_grammar_trigger_type type;
|
||||
std::string value;
|
||||
llama_token token = LLAMA_TOKEN_NULL;
|
||||
|
||||
// T can only be nlohmann::ordered_json
|
||||
template <class T> T to_json() const;
|
||||
template <class T> static common_grammar_trigger from_json(const T & in);
|
||||
};
|
||||
|
||||
// sampling parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue