mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-18 16:55:05 +02:00
wip
This commit is contained in:
@@ -2157,7 +2157,7 @@ static void test_tagged_args_with_embedded_quotes(testing & t) {
|
||||
for (const auto & tool_def : tools) {
|
||||
if (!tool_def.contains("function")) { continue; }
|
||||
const auto & function = tool_def.at("function");
|
||||
std::string name = function.at("name").get<std::string>();
|
||||
std::string name = function.at("name");
|
||||
const auto & params = function.at("parameters");
|
||||
|
||||
if (!params.contains("properties") || !params.at("properties").is_object()) { continue; }
|
||||
|
||||
Reference in New Issue
Block a user