Skip to content

LLM inference in C/C++

C++ ggml

tests : fix test-chat-template --no-common option (#25075)

Sigbjørn Skjæret83d385b4294a
diff --git a/tests/test-chat-template.cpp b/tests/test-chat-template.cpp
index c388dee1c4..d971b23746 100644
--- a/tests/test-chat-template.cpp
+++ b/tests/test-chat-template.cpp
@@ -135,7 +135,7 @@ int main(int argc, char ** argv) {
output_path = args[i + 1];
i++;
} else if (args[i] == "--no-common") {
- use_common = true;
+ use_common = false;
} else if (tmpl_path.empty()) {
tmpl_path = args[i];
} else {