From d52fd23eccd80b4c7224e754d161e9e8085afa8b Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Sat, 27 Dec 2025 15:33:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=8F=B7=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E4=B8=BAinterface?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/biz/do/prompt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/biz/do/prompt.go b/internal/biz/do/prompt.go index 91722ae..1e69e33 100644 --- a/internal/biz/do/prompt.go +++ b/internal/biz/do/prompt.go @@ -28,10 +28,10 @@ func (f *WithSys) CreatePrompt(ctx context.Context, rec *entitys.Recognize) (mes ) // 获取用户内容,如果出错则直接返回错误 content, err := f.getUserContent(ctx, rec) - log.Infof("生成prompt:%s", content) if err != nil { return nil, err } + log.Infof("生成prompt:%s", content) // 构建提示消息列表,包含系统提示、助手回复和用户内容 mes = append(prompt, api.Message{ Role: "system", // 系统角色