diff --git a/common/jinja/caps.cpp b/common/jinja/caps.cpp index c6eef6b464..abd4cd2d9f 100644 --- a/common/jinja/caps.cpp +++ b/common/jinja/caps.cpp @@ -111,7 +111,7 @@ caps caps_get(jinja::program & prog) { // tools return json{nullptr}; }, - [&](bool success, value & messages, value &) { + [&](bool success, value & messages, value &, const std::string &) { auto & content = messages->at(0)->at("content"); caps_print_stats(content, "messages[0].content"); if (has_op(content, "selectattr") || has_op(content, "array_access")) { diff --git a/tools/parser/template-analysis.cpp b/tools/parser/template-analysis.cpp index 0fbcc09390..deb2bafa20 100644 --- a/tools/parser/template-analysis.cpp +++ b/tools/parser/template-analysis.cpp @@ -391,7 +391,8 @@ static void analyze_template(const std::string & template_path) { LOG_ERR("%ssupports_tool_calls:%s %s\n", ANSI_BLUE, ANSI_RESET, caps.supports_tool_calls ? "true" : "false"); LOG_ERR("%ssupports_system_role:%s %s\n", ANSI_BLUE, ANSI_RESET, caps.supports_system_role ? "true" : "false"); LOG_ERR("%ssupports_parallel_tool_calls:%s %s\n", ANSI_BLUE, ANSI_RESET, caps.supports_parallel_tool_calls ? "true" : "false"); - LOG_ERR("%srequires_typed_content:%s %s\n", ANSI_BLUE, ANSI_RESET, caps.requires_typed_content ? "true" : "false"); + LOG_ERR("%ssupports_typed_content:%s %s\n", ANSI_BLUE, ANSI_RESET, caps.supports_typed_content ? "true" : "false"); + LOG_ERR("%ssupports_string_content:%s %s\n", ANSI_BLUE, ANSI_RESET, caps.supports_string_content ? "true" : "false"); // ===== DIFFERENTIAL ANALYSIS =====