mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-28 04:15:21 +00:00
Drop trailing new line from file prompts (#80)
This commit is contained in:
1
main.cpp
1
main.cpp
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user