add missing quote when printing stopping strings
This commit is contained in:
parent
b6f536dfb3
commit
7a8104fbd2
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ bool parse_options_completion(json body, llama_server_context& llama, Response &
|
||||||
std::string tmp_stop =
|
std::string tmp_stop =
|
||||||
std::accumulate(llama.params.antiprompt.begin(), llama.params.antiprompt.end(),
|
std::accumulate(llama.params.antiprompt.begin(), llama.params.antiprompt.end(),
|
||||||
std::string{}, [](std::string a, std::string b) {
|
std::string{}, [](std::string a, std::string b) {
|
||||||
return a + (a != "" ? ", \"" : "") + b + "\"";
|
return a + (a != "" ? ", \"" : "\"") + b + "\"";
|
||||||
});
|
});
|
||||||
|
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue