Drop trailing new line from file prompts (#80)

This commit is contained in:
Georgi Gerganov 2023-03-19 19:04:44 +02:00
parent a4e63b73df
commit 70f01cb863
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 3 additions and 1 deletions

View file

@ -850,7 +850,6 @@ int main(int argc, char ** argv) {
// in instruct mode, we inject a prefix and a suffix to each input by the user
if (params.instruct) {
fprintf(stderr, "== Instruction mode enabled ==\n");
params.interactive = true;
params.antiprompt = "### Instruction:\n\n";
}