Skip to content

Conversation

@seafraf
Copy link
Contributor

@seafraf seafraf commented Aug 12, 2025

Some OpenAI completion types are inconsistently private, I need them public so that I can convert them into OpenAPI generated types

Copy link
Contributor

@joshua-mo-143 joshua-mo-143 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add methods for these rather than directly making them pub. It will help with ensuring that we are not constantly adding breaking changes to the library by adding new public fields.

@joshua-mo-143
Copy link
Contributor

joshua-mo-143 commented Aug 12, 2025

Hi, thanks for the PR! Just reviewed. Amendments should not take too long to implement, once they pass CI I'll merge as it's a relatively small change. (edit: see below amended review)

Copy link
Contributor

@joshua-mo-143 joshua-mo-143 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, LGTM - if the breaking changes for the integration are really that much of an issue that we need accessor patterns we'll just do it in a separate ticket as it will need to probably affect the entire module/integration

@joshua-mo-143 joshua-mo-143 merged commit 704dccb into 0xPlaygrounds:main Aug 12, 2025
5 checks passed
@github-actions github-actions bot mentioned this pull request Aug 11, 2025
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

Successfully merging this pull request may close these issues.

2 participants