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:
rabidcopy 2023-03-20 15:13:10 -05:00 committed by GitHub
parent ac6a9d9717
commit 466073896b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1089,6 +1089,7 @@ int main(int argc, char ** argv) {
is_interacting = true;
embd.back() = NEWLINE_TOKEN_ID;
last_n_tokens.back() = NEWLINE_TOKEN_ID;
fprintf(stderr, "\n");
} else {
fprintf(stderr, " [end of text]\n");
break;