llama.cpp
llama.cpp copied to clipboard
Check for reverse prompt by characters instead of tokens (#292)
This fixes bug #292 as suggested here.
Not sure we need the string stream here.
Not sure we need the string stream here.
@Green-Sky Should we use std::string::append()
or the sum operator instead? What do you suggest as the most efficient alternative?
EDIT: I used addition. Please let me know if there are any other issues.