mirror of https://github.com/vllm-project/vllm
Removed Extraneous Print Message From OAI Server (#3440)
This commit is contained in:
parent
fb96c1e98c
commit
10585e035e
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue