]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
bugfix: default should not be interactive (#304)
authorcocktailpeanut <redacted>
Sun, 19 Mar 2023 21:44:20 +0000 (17:44 -0400)
committerGitHub <redacted>
Sun, 19 Mar 2023 21:44:20 +0000 (23:44 +0200)
main.cpp

index c7186e0dff273d4c0696c9442f200ab7be07bc5f..c005d17ccd31295b079a56ddde5e32818c66d366 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -867,7 +867,7 @@ int main(int argc, char ** argv) {
     }
 
     // enable interactive mode if reverse prompt is specified
-    if (!antipromptv_inp.size()) {
+    if (antipromptv_inp.size() != 0) {
         params.interactive = true;
     }