openai-openapi icon indicating copy to clipboard operation
openai-openapi copied to clipboard

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

Open atacan opened this issue 1 year ago • 4 comments

in many of the schemas' model property.

For example CreateChatCompletionResponse, CreateRunRequest, etc.

atacan avatar Oct 27 '24 13:10 atacan

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

benadamdev avatar Oct 27 '24 13:10 benadamdev

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

BruceMcRooster avatar Oct 27 '24 15:10 BruceMcRooster

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

atacan avatar Oct 27 '24 20:10 atacan

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

benadamdev avatar Nov 04 '24 15:11 benadamdev