MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / consume_json

Method consume_json

smallthinker/common/chat-parser.cpp:242–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242common_json common_chat_msg_parser::consume_json() {
243 if (auto result = try_consume_json()) {
244 return *result;
245 }
246 throw common_chat_msg_partial_exception("JSON");
247}
248
249common_chat_msg_parser::consume_json_result common_chat_msg_parser::consume_json_with_dumped_args(
250 const std::vector<std::vector<std::string>> & args_paths,

Callers 1

Tested by

no test coverage detected