-
My code/prompt has suddenly stopped working when I use the exact same code in a package. I've even created an entirely new Xcode project, added OpenAI package, and pasted the following code:
And I get error: Argument 'messages' must precede argument 'model' Following the suggestion doesn't work, either. What is causing this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, turns out I was using an older version of the library in my last app, and recent updates changed things around. Still learning. (Swapping the order did, in fact, work - along with a few other changes necessary to get it in line with the latest update) |
Beta Was this translation helpful? Give feedback.
Well, turns out I was using an older version of the library in my last app, and recent updates changed things around. Still learning.
(Swapping the order did, in fact, work - along with a few other changes necessary to get it in line with the latest update)