Unverified Commit a708ef59 authored by cjackal's avatar cjackal Committed by GitHub
Browse files

[Misc] Fix SyntaxWarning - invalid escape sequence '\e' (#36020)


Signed-off-by: default avatarcjackal <44624812+cjackal@users.noreply.github.com>
parent 66a22096
......@@ -343,7 +343,7 @@ class ChatCompletionRequest(OpenAIBaseModel):
"in output tokens. If such repetition is detected, generation will "
"be ended early. LLMs can sometimes generate repetitive, unhelpful "
"token patterns, stopping only when they hit the maximum output length "
"(e.g. 'abcdabcdabcd...' or '\emoji \emoji \emoji ...'). This feature "
"(e.g. 'abcdabcdabcd...' or '\\emoji \\emoji \\emoji ...'). This feature "
"can detect such behavior and terminate early, saving time and tokens.",
)
......
......@@ -173,7 +173,7 @@ class CompletionRequest(OpenAIBaseModel):
"in output tokens. If such repetition is detected, generation will "
"be ended early. LLMs can sometimes generate repetitive, unhelpful "
"token patterns, stopping only when they hit the maximum output length "
"(e.g. 'abcdabcdabcd...' or '\emoji \emoji \emoji ...'). This feature "
"(e.g. 'abcdabcdabcd...' or '\\emoji \\emoji \\emoji ...'). This feature "
"can detect such behavior and terminate early, saving time and tokens.",
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment