From 8c27bd9fef4046685ebd67941b1ecd7ffc1df0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KevinZ=C3=B8nda?= <33132228+KevinZonda@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:58:05 +0000 Subject: [PATCH] log --- backend/exec/svr/handler/continuousAsk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/exec/svr/handler/continuousAsk.go b/backend/exec/svr/handler/continuousAsk.go index 72727f7..c5db9b6 100644 --- a/backend/exec/svr/handler/continuousAsk.go +++ b/backend/exec/svr/handler/continuousAsk.go @@ -27,6 +27,7 @@ func translate(content string) string { return content } txt := resp.Choices[0].Message.Content + log.Println("TRANSLATE> ", txt, "----->", txt) txt = strings.TrimSpace(strings.ReplaceAll(txt, "\n", " ")) if strings.Contains(strings.ToLower(txt), "err") { return content