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

Co-authored-by: Johnman <tjohnman@github>
This commit is contained in:
tjohnman 2023-03-23 01:30:23 +01:00 committed by GitHub
parent ee8a788786
commit f7dc43bc0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;