fix: 修改订单号参数类型为interface
This commit is contained in:
parent
41e128683d
commit
b02b988c5d
|
|
@ -10,6 +10,7 @@ import (
|
|||
"context"
|
||||
"strings"
|
||||
|
||||
"github.com/gofiber/fiber/v2/log"
|
||||
"github.com/ollama/ollama/api"
|
||||
)
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ 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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue