From a4f9af7e7670b8c51c6d8d3f0be567afc3d0230e Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 13 Feb 2023 23:39:18 +0800 Subject: [PATCH] update --- openai/chatgpt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openai/chatgpt.go b/openai/chatgpt.go index c6d165f..8a58fc5 100644 --- a/openai/chatgpt.go +++ b/openai/chatgpt.go @@ -126,7 +126,7 @@ func Completions(msg string) (*string, error) { } else { reply = gptErrorBody.Error["message"].(string) } - log.Printf("gpt response text: %s \n", reply) + log.Printf("gpt response full text: %s \n", reply) result := strings.TrimSpace(reply) return &result, nil }