We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7a2d0 commit 9371988Copy full SHA for 9371988
examples/main/main.cpp
@@ -797,7 +797,7 @@ int main(int argc, char ** argv) {
797
assistant_ss << common_token_to_piece(ctx, id, false);
798
}
799
800
- if ((waiting_for_first_input || n_past > 0) && is_interacting) {
+ if ((n_past > 0 || waiting_for_first_input) && is_interacting) {
801
LOG_DBG("waiting for user input\n");
802
803
if (params.conversation_mode) {
@@ -887,7 +887,7 @@ int main(int argc, char ** argv) {
887
input_echo = false; // do not echo this again
888
889
890
- if (waiting_for_first_input || n_past > 0) {
+ if (n_past > 0 || waiting_for_first_input) {
891
if (is_interacting) {
892
common_sampler_reset(smpl);
893
0 commit comments