Closed u431535 closed 12 months ago
Bump. Same thing started happening to a project I have deployed.
Seems related to issue #53.
I found a hot fix. I added the following to packages/runtime/DataTypes.cs > CreateChatCompletionResponse struct.
public string warning { get; set; }
Under what method are you placing that?
The CreateChatCompletionResponse struct. I'll edit my comment to reflect this.
in your project, find for DataTypes, inside Packages>OpenAI Unity> Runtime
public struct CreateChatCompletionResponse : IResponse
{
public ApiError Error { get; set; }
public string Model { get; set; }
public string Id { get; set; }
public string Object { get; set; }
public long Created { get; set; }
public List
public string warning { get; set; }
}
Thank you! That fixed the issue.
Sorry for the late response folks. I've been away for a while. A version with the fix is released #75
No problem, I really appreciate all that you have done here and on your YouTube channel.
Environment (please complete the following information):