Open matanstau opened 11 months ago
I believe you may be referring to https://github.com/adamrushy/OpenAISwift/issues/102
Thanks that solved that. I'm still getting some issues with version 1.4 The same code that use to work is now returning "The operation couldn’t be completed. (OpenAISwift.OpenAIError error 2.)"
Me to, Have you solved it by now ?
Not really
I think there is an undocumented change, to initialize it you have to use: let openAI = OpenAISwift(config: .makeDefaultOpenAI(apiKey: "TOKEN"))
These are two separate issues, which I both fixed and made a Pull Request #114
let openAI = OpenAISwift(authToken: "TOKEN")
doesn't work anymore in version 1.4