Sfoglia il codice sorgente

Fix instruct mode broken by PR #354 (#409)

Co-authored-by: Johnman <tjohnman@github>
tjohnman 2 anni fa
parent
commit
f7dc43bc0d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -300,7 +300,7 @@ int main(int argc, char ** argv) {
 #endif
 #endif
                " - Press Return to return control to LLaMa.\n"
                " - Press Return to return control to LLaMa.\n"
                " - If you want to submit another line, end your input in '\\'.\n\n");
                " - If you want to submit another line, end your input in '\\'.\n\n");
-        is_interacting = params.interactive_start;
+        is_interacting = params.interactive_start || params.instruct;
     }
     }
 
 
     int input_consumed = 0;
     int input_consumed = 0;