Просмотр исходного кода

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

Co-authored-by: Johnman <tjohnman@github>
tjohnman 2 лет назад
Родитель
Сommit
f7dc43bc0d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -300,7 +300,7 @@ int main(int argc, char ** argv) {
 #endif
                " - Press Return to return control to LLaMa.\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;