diff --git a/internal/biz/do/prompt.go b/internal/biz/do/prompt.go index 1e69e33..b216db5 100644 --- a/internal/biz/do/prompt.go +++ b/internal/biz/do/prompt.go @@ -31,7 +31,7 @@ func (f *WithSys) CreatePrompt(ctx context.Context, rec *entitys.Recognize) (mes if err != nil { return nil, err } - log.Infof("生成prompt:%s", content) + log.Infof("生成prompt:%s", content.String()) // 构建提示消息列表,包含系统提示、助手回复和用户内容 mes = append(prompt, api.Message{ Role: "system", // 系统角色