- Notifications
You must be signed in to change notification settings - Fork1k
MakeToolDefinition.description
optional and fix Bedrock description handling#1507
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedApr 16, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Docs Preview
|
@dmontagu Making |
4269d90
tof31fb94
ComparePR Change SummaryUpdated the handling of the description field in ToolDefinition to allow for optional descriptions and improved handling of None values across models.
Modified Files
How can I customize these reviews?Check out theHyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
ToolDefinition.description
optional and fix Bedrock description handlingbca8262
to3f68197
Comparea08a20e
intomainUh oh!
There was an error while loading.Please reload this page.
Before merging this we should probably make the description field on
pydantic_ai.tools.ToolDefinition
optional, and handleNone
properly on every other model.