diff --git a/service/llm_service.go b/service/llm_service.go index d8a5119..91c4ee3 100644 --- a/service/llm_service.go +++ b/service/llm_service.go @@ -303,6 +303,7 @@ func (s *LLMService) processStreamSegment(initialSessage *string, all_message *s fmt.Printf("Error synthesizing speech: %v\n", err) break } + fmt.Println("触发音频", speechResp) audio = speechResp.Data.Audio if audio != "" { resp, err := http.Get(audio) @@ -595,7 +596,7 @@ func (s *LLMService) handleStreamingResponseV2(req *http.Request, data map[strin line = strings.TrimSpace(strings.TrimPrefix(line, "data:")) } - fmt.Println("line: ", line) + // fmt.Println("line: ", line) if line == "[DONE]" { messageChan <- Message{