print a new line on end of text in interactive
this may need to be looked into further when not using a reverse prompt
This commit is contained in:
parent
ac6a9d9717
commit
466073896b
1 changed files with 1 additions and 0 deletions
1
main.cpp
1
main.cpp
|
@ -1089,6 +1089,7 @@ int main(int argc, char ** argv) {
|
||||||
is_interacting = true;
|
is_interacting = true;
|
||||||
embd.back() = NEWLINE_TOKEN_ID;
|
embd.back() = NEWLINE_TOKEN_ID;
|
||||||
last_n_tokens.back() = NEWLINE_TOKEN_ID;
|
last_n_tokens.back() = NEWLINE_TOKEN_ID;
|
||||||
|
fprintf(stderr, "\n");
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, " [end of text]\n");
|
fprintf(stderr, " [end of text]\n");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue