llm icon indicating copy to clipboard operation
llm copied to clipboard

Strip trailing newline in prompt file

Open matthew-mcallister opened this issue 1 year ago • 0 comments

Many, probably most, editors include a trailing newline at the end of a text file, which is not what you want if the prompt isn't a complete sentence or paragraph. This issue was fixed in llama.cpp.

matthew-mcallister avatar Mar 23 '23 02:03 matthew-mcallister