"vscode:/vscode.git/clone" did not exist on "eb52db1bea23cdad8c5dc55d32e9eb69b20591d9"
Unverified Commit 1ce0318c authored by Ekagra Ranjan's avatar Ekagra Ranjan Committed by GitHub
Browse files

[Bugfix] stream failure when model name not in audio endpoints (#36679)


Signed-off-by: default avatarEkagra Ranjan <3116519+ekagra-ranjan@users.noreply.github.com>
parent 8d825b87
......@@ -389,6 +389,9 @@ class OpenAISpeechToText(OpenAIServing):
if error_check_ret is not None:
return error_check_ret
if not request.model:
request.model = self.models.model_name()
# If the engine is dead, raise the engine's DEAD_ERROR.
# This is required for the streaming case, where we return a
# success status before we actually start generating text :).
......
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