Merge branch 'refs/heads/feat-abroad-ai'
This commit is contained in:
commit
47288cf2fb
|
|
@ -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