From 9273395e3887f6afd75b293e455fec2773bb3595 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 14 Nov 2024 19:09:00 +0100 Subject: [PATCH] Move to debug calls Signed-off-by: Ettore Di Giacinto --- core/http/endpoints/openai/realtime.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/http/endpoints/openai/realtime.go b/core/http/endpoints/openai/realtime.go index a8919745..15c21c68 100644 --- a/core/http/endpoints/openai/realtime.go +++ b/core/http/endpoints/openai/realtime.go @@ -487,10 +487,10 @@ func handleVAD(session *Session, conversation *Conversation, c *websocket.Conn, speechStart, speechEnd := float32(0), float32(0) for _, s := range resp.Segments { - log.Printf("speech starts at %0.2fs", s.Start) + log.Debug().Msgf("speech starts at %0.2fs", s.Start) speechStart = s.Start if s.End > 0 { - log.Printf("speech ends at %0.2fs", s.End) + log.Debug().Msgf("speech ends at %0.2fs", s.End) speechEnd = s.End } else { log.Printf("speech is ongoing")