From: tjohnman Date: Thu, 23 Mar 2023 00:30:23 +0000 (+0100) Subject: Fix instruct mode broken by PR #354 (#409) X-Git-Tag: gguf-v0.4.0~1150 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f7dc43bc0d759732815856183246f167111587ad;p=pkg%2Fggml%2Fsources%2Fllama.cpp Fix instruct mode broken by PR #354 (#409) Co-authored-by: Johnman --- diff --git a/main.cpp b/main.cpp index 4569ef2a..431c94b5 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;