fix: 修复请求体过大处理和冗余代码问题

1. 修复OpenAI TTS接口的请求体过大错误提示,返回正确的状态码和提示信息
2. 删除volcano适配器中无用的空循环扫描代码
3. 修正constants.go的包声明重复空格问题
This commit is contained in:
sun
2026-05-26 10:41:47 +08:00
parent 9b2a1d1531
commit 23b962a90e
3 changed files with 6 additions and 7 deletions
-2
View File
@@ -132,8 +132,6 @@ func Synthesis(config *dto.ByteDanceTTSConfig, httpClient *HTTPClient, text stri
if v3Resp.Usage != nil {
log.Printf("TTS synthesis completed, usage: %+v", v3Resp.Usage)
}
for scanner.Scan() {
}
break
}