openai / openai-openapi

OpenAPI specification for the OpenAI API
https://platform.openai.com/docs/api-reference/introduction
MIT License
1.31k stars 379 forks source link

The model `gpt-4o-2024-08-06` is mentioned twice in the respective enums #359

Open atacan opened 1 month ago

atacan commented 1 month ago

in many of the schemas' model property.

For example CreateChatCompletionResponse, CreateRunRequest, etc.

benadamdev commented 1 month ago

I sent them a pull request specifically for this, but they didn’t merge it. 

BruceMcRooster commented 1 month ago

Seconding this as an issue. Just had to remove those duplicates to use the Swift OpenAPI generator without erroring out because of duplicate enums.

atacan commented 1 month ago

For Swift I made this package, where I fix some of the issues with a download script.

https://github.com/atacan/swift-openai-api/blob/main/scripts/openaiYamlDownload.swift

benadamdev commented 4 weeks ago

Thank you very much for this script. It's really very helpful.