Skip to content

Inconsistency encountered when parsing maximum in CreateChatCompletionRequest.allOf[1].properties.seed #445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nezhyborets opened this issue May 8, 2025 · 0 comments

Comments

@nezhyborets
Copy link

I get such an error when using openai-openapi at 498c71d with Swift OpenAPI Generator at apple/swift-openapi-generator@af4cb85.

/Users/oleksiinezhyborets/Projects/swift-openapi-generator/openapi.yaml: error: Inconsistency encountered when parsing maximum in Document.components.schemas.CreateChatCompletionRequest.allOf[1].properties.seed: Expected an Integer literal but found a floating point value (9.223372036854776e+18).
Error: /Users/oleksiinezhyborets/Projects/swift-openapi-generator/openapi.yaml: error: Inconsistency encountered when parsing maximum in Document.components.schemas.CreateChatCompletionRequest.allOf[1].properties.seed: Expected an Integer literal but found a floating point value (9.223372036854776e+18).

I'm not sure on which side the issue is, so I believe you can just close this if the problem is on the other side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant