Closed charliehuang09 closed 3 months ago
Hi, sorry for late reply, this has been added in 2.3.1 release! https://github.com/alfianlosari/ChatGPTSwift/releases/tag/2.3.1
The API has been refactored to use OpenAPI OpenAI generated type since 2.0.0. I closed the MR as the changes are not valid anymore when using the new interface 🙏
you can simply use the latest version and pass the stop parameter with the new type.