Skip to content

Commit f7dc43b

Browse files
tjohnmanJohnman
and
Johnman
authored
Fix instruct mode broken by PR #354 (#409)
Co-authored-by: Johnman <tjohnman@github>
1 parent ee8a788 commit f7dc43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ int main(int argc, char ** argv) {
300300
#endif
301301
" - Press Return to return control to LLaMa.\n"
302302
" - If you want to submit another line, end your input in '\\'.\n\n");
303-
is_interacting = params.interactive_start;
303+
is_interacting = params.interactive_start || params.instruct;
304304
}
305305

306306
int input_consumed = 0;

0 commit comments

Comments
 (0)