feat: remove unused HandleOpenAITTS function and adjust token expiry time

This commit is contained in:
王锦强
2025-03-10 08:39:42 +08:00
parent c592712ca6
commit c56b27aeee
2 changed files with 1 additions and 7 deletions

View File

@@ -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)