refactor(chat): modernize speech-to-text pipeline (#38653)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yansong Zhang <916125788@qq.com>
This commit is contained in:
yyh
2026-07-13 04:21:29 +00:00
committed by GitHub
co-authored by autofix-ci[bot] Yansong Zhang
parent 408cd12835
commit ab521c4cfd
103 changed files with 3465 additions and 1288 deletions
+6
View File
@@ -79,6 +79,12 @@ class ProviderNotSupportSpeechToTextError(BaseHTTPException):
code = 400
class SpeechToTextDisabledError(BaseHTTPException):
error_code = "speech_to_text_disabled"
description = "Speech to text is disabled."
code = 400
class DraftWorkflowNotExist(BaseHTTPException):
error_code = "draft_workflow_not_exist"
description = "Draft workflow need to be initialized."