go-openai
go-openai copied to clipboard
CreateChatCompletionStream Get err is nil
My apikey request openai returns an error message, but stream.Recv()
err is nil
{
"error": {
"message": "Your access was terminated due to violation of our policies, please check your email for more information. If you believe this is in error and would like to appeal, please contact [email protected].",
"type": "access_terminated",
"param": null,
"code": null
}
}
@smile-magic this is fixed in the new version, please try upgrading: go get -u github.com/sashabaranov/[email protected]
cc @liushuangls