Skip to content

chore(internal): simplify handling of deployment models #556

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

Merged
merged 4 commits into from
Jul 24, 2025

Conversation

damo
Copy link
Contributor

@damo damo commented Jul 24, 2025

No description provided.

@damo damo requested a review from a team as a code owner July 24, 2025 16:03
@TomerAberbach TomerAberbach changed the title Simplified code handling of deployment models chore(internal): simplify handling of deployment models Jul 24, 2025
@damo damo requested a review from TomerAberbach July 24, 2025 16:32
else -> it.toString()
}
}
} catch (_: Exception) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we put this only around the reflection parts? We only want to catch reflection exceptions (not other errors which may indicate more real issues)

@damo damo requested a review from TomerAberbach July 24, 2025 16:55
@TomerAberbach TomerAberbach merged commit 2c7e661 into openai:next Jul 24, 2025
2 of 3 checks passed
@stainless-app stainless-app bot mentioned this pull request Jul 24, 2025
TomerAberbach pushed a commit that referenced this pull request Jul 24, 2025
* fix(client): accidental mutability of some classes

* chore(internal): remove unnecessary `[...]` in `@see`

* docs: more code comments

* chore(internal): simplify handling of deployment models (#556)

* deployment-models: simplified code handling of deployment models

* deployment-models: shorter test function names.

* deployment-models: return null if reflection fails.

* deployment-models: handle reflection errors more specifically.

* release: 2.19.1

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: D Gardner <[email protected]>
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