修改发送国外任务日志输出
This commit is contained in:
parent
d004afada8
commit
538f9ae18d
|
|
@ -364,7 +364,8 @@ func SendOpenAIForeignAI(modelParam proto.ModelParam, imCtx *proto.IMParamContex
|
||||||
var resp proto.GenerateResp
|
var resp proto.GenerateResp
|
||||||
err = json.Unmarshal(respBytes, &resp)
|
err = json.Unmarshal(respBytes, &resp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("send openai foreign ai response error:", err)
|
log.Println("send openai foreign ai request:", string(reqBytes))
|
||||||
|
log.Println("send openai foreign ai response error:", string(respBytes))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if resp.Code != proto.SuccessCode {
|
if resp.Code != proto.SuccessCode {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue