aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authortjohnman <tjohnman@users.noreply.github.com>2023-03-23 01:30:23 +0100
committerGitHub <noreply@github.com>2023-03-23 01:30:23 +0100
commitf7dc43bc0d759732815856183246f167111587ad (patch)
tree31b53dcce2699bc7f95d19e0df898a69a3a8a5b5 /main.cpp
parentee8a7887865a893be208e0a92d6d94d2cb66a789 (diff)
Fix instruct mode broken by PR #354 (#409)
Co-authored-by: Johnman <tjohnman@github>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 4569ef2..431c94b 100644
--- a/main.cpp
+++ b/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;