MacPaw / OpenAI

Swift community driven package for OpenAI public API
MIT License
2.11k stars 353 forks source link

Chore: adding `required` to ChatCompletionFunctionCallOptionParam enum #215

Open elliottburris opened 5 months ago

elliottburris commented 5 months ago

What

Added new required option to ChatCompletionFunctionCallOptionParam enum.

Why

This new required enum value was introduced to the API on April 29 2024 and is now featured in the documentation: https://platform.openai.com/docs/api-reference/chat/create#chat-create-tool_choice

Affected Areas

ChatQuery construction is impacted

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud