Skip to content

Enable developers to initialize built-in tools in a simpler way #927

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

Closed
wants to merge 2 commits into from

Conversation

seratch
Copy link
Member

@seratch seratch commented Jun 24, 2025

This pull request enhances the tool data classes to enable developers to omit the required "type" property. Passing the property works too, so this does not bring any breaking changes. (for context, I received feedback from a customer that passing the similar name when initializing these classes looks quite redundant)

@seratch seratch requested a review from rm-openai June 24, 2025 07:43
@seratch seratch self-assigned this Jun 24, 2025
@seratch seratch added the enhancement New feature or request label Jun 24, 2025
@seratch
Copy link
Member Author

seratch commented Jun 24, 2025

reverted the changes to the examples as it requires skip comment for mypy; there may be something else we can consider. let me close this approach for now

@seratch seratch closed this Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant