dylanshine / openai-kit

A community Swift package used to interact with the OpenAI API
https://platform.openai.com/docs/api-reference
MIT License
693 stars 107 forks source link

Fix capatable for turbo0301 model #17

Closed KittenYang closed 1 year ago

ronaldmannak commented 1 year ago

Just trying to understand the code. You made the properties optional because the API doesn't always return the properties? Is that why you kept the init non-optional?

KittenYang commented 1 year ago

@ronaldmannak yep

dylanshine commented 1 year ago

@KittenYang Can you provide example requests/responses?

dylanshine commented 1 year ago

Closed due to inactivity.