mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 23:03:52 +08:00
Removed Extraneous Print Message From OAI Server (#3440)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user