Open matanstau opened 11 months ago
They made ChatMessage Identifiable, which combined with Codable protocol will encode the local id property to the body and OpenAI rejects it:
"message = "Additional properties are not allowed ('id' was unexpected) - 'messages.0'"
type = "invalid_request_error""
I fixed it and made a Pull Request #114
I'm getting this error after updating to 1.4.0. "The operation couldn’t be completed. (OpenAISwift.OpenAIError error 2.)"
Seems like other people are getting it as well https://github.com/adamrushy/OpenAISwift/issues/109