main : escape prompt prefix/suffix (#2151)

This commit is contained in:
Nigel Bosch 2023-07-09 03:56:18 -05:00 committed by GitHub
parent 18780e0a5e
commit db4047ad5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -418,6 +418,8 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
if (escape_prompt) {
process_escapes(params.prompt);
process_escapes(params.input_prefix);
process_escapes(params.input_suffix);
}
return true;