diff --git a/vllm/entrypoints/openai/chat_completion/protocol.py b/vllm/entrypoints/openai/chat_completion/protocol.py index 0abe85ae85..ece69289bd 100644 --- a/vllm/entrypoints/openai/chat_completion/protocol.py +++ b/vllm/entrypoints/openai/chat_completion/protocol.py @@ -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.", ) diff --git a/vllm/entrypoints/openai/completion/protocol.py b/vllm/entrypoints/openai/completion/protocol.py index af132049ca..73232ec3aa 100644 --- a/vllm/entrypoints/openai/completion/protocol.py +++ b/vllm/entrypoints/openai/completion/protocol.py @@ -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.", )