Removed Extraneous Print Message From OAI Server (#3440)

This commit is contained in:
Robert Shaw 2024-03-15 19:35:36 -05:00 committed by GitHub
parent fb96c1e98c
commit 10585e035e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -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(