From db4047ad5cd8eae04db3b2efe0245e69a376601a Mon Sep 17 00:00:00 2001 From: Nigel Bosch Date: Sun, 9 Jul 2023 03:56:18 -0500 Subject: main : escape prompt prefix/suffix (#2151) --- examples/common.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/common.cpp b/examples/common.cpp index 3278a06..93159c6 100644 --- a/examples/common.cpp +++ b/examples/common.cpp @@ -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; -- cgit v1.2.3