feat: remove unused HandleOpenAITTS function and adjust token expiry time
This commit is contained in:
@@ -221,7 +221,6 @@ func (h *TTSHandler) HandleTTS(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
// 非流式模式处理(保持原有逻辑)
|
||||
synthStart := time.Now()
|
||||
resp, err := h.ttsService.SynthesizeSpeech(r.Context(), req)
|
||||
synthTime := time.Since(synthStart)
|
||||
|
||||
Reference in New Issue
Block a user