Skip to content

Overrideable Tool Description #4

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 1 commit into from
Mar 20, 2025
Merged

Conversation

jakeloo
Copy link
Member

@jakeloo jakeloo commented Mar 20, 2025

This pull request includes a modification to the decorator function in the python/thirdweb-ai/src/thirdweb_ai/tools/tool.py file to enhance the flexibility of the wrapper function.

Enhancements to the wrapper function:

  • python/thirdweb-ai/src/thirdweb_ai/tools/tool.py: Modified the wrapper function to accept optional description and name parameters, allowing for dynamic assignment of these values. If not provided, it defaults to func_description and func_name respectively.

@jakeloo jakeloo merged commit 4a96dc5 into main Mar 20, 2025
2 checks passed
@jakeloo jakeloo deleted the jl/updateable-tool-description branch March 20, 2025 06:27
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.

1 participant