Skip to content

Remove openai latest dep restriction#14423

Merged
trask merged 4 commits into
open-telemetry:mainfrom
laurit:openai-java3
Aug 15, 2025
Merged

Remove openai latest dep restriction#14423
trask merged 4 commits into
open-telemetry:mainfrom
laurit:openai-java3

Conversation

@laurit

@laurit laurit commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

@laurit
laurit requested a review from a team as a code owner August 13, 2025 12:40
@anuraaga

Copy link
Copy Markdown
Contributor

Thanks @laurit! Not sure if there are any conflicts, but would it be possible to merge #14353 first?

@anuraaga anuraaga left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just small comment

}

@Nullable
private static Value<String> toValue(@Nullable String string) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IIUC, we have null handling here because of the very rare situation where reflection fails for some reason - this is despite also having nice isAvailable checks.

Any thoughts on having invokeStringHandle return "" in the failure case since we expect it to basically not happen?

Otherwise, it's probably worth adding a comment summarizing the above to clarify this is an issue with the code here and not the API responses

@anuraaga anuraaga left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Meant to approve with the nit

@jaydeluca jaydeluca mentioned this pull request Aug 15, 2025
@trask
trask merged commit 2ca62ab into open-telemetry:main Aug 15, 2025
89 checks passed
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.

4 participants