Unverified Commit 10585e03 authored by Robert Shaw's avatar Robert Shaw Committed by GitHub
Browse files

Removed Extraneous Print Message From OAI Server (#3440)

parent fb96c1e9
......@@ -309,10 +309,7 @@ class OpenAIServingCompletion(OpenAIServing):
except ValueError as e:
# TODO: Use a vllm-specific Validation Error
data = self.create_streaming_error_response(str(e))
print("yield", f"data: {data}\n\n")
yield f"data: {data}\n\n"
print("yield", "data: [DONE]\n\n")
yield "data: [DONE]\n\n"
def request_output_to_completion_response(
......
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