feat: 日志级别优化(Phase 7)

- nodes_stt.go: STT 识别开始降为 Debug
- nodes_history.go: 历史组装完成降为 Debug
- nodes_tts.go: TTS 流中断降为 Debug
- 保持关键里程碑为 Info:query completed、tts synthesis started/completed
- 中间步骤详情降为 Debug,减少生产环境日志噪音
This commit is contained in:
hhs
2026-06-21 22:37:23 +08:00
parent 76d331c885
commit 6b4b033df3
3 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ func NewSTTLambda(sttService stt.Service) *compose.Lambda {
return STTOutput{}, fmt.Errorf("stt: no audio data provided")
}
log.Infow("stt recognition started", "audio_bytes", len(input.AudioData))
log.Debugw("stt recognition started", "audio_bytes", len(input.AudioData))
// 调用 STT 服务
text, err := sttService.Recognize(ctx, input.AudioData, stt.Options{