Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document breaking changes in v0.4.0#2154

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

Merged
DouweM merged 1 commit intomainfrom0-4-0-breaking-changes
Jul 8, 2025
Merged

Conversation

DouweM
Copy link
Contributor

See#1799 - Pydantic EvalsEvaluationReport andReportCase are now generic dataclasses instead of Pydantic models. If you were serializing them usingmodel_dump(), you will now need to use theEvaluationReportAdapter andReportCaseAdapter type adapters instead.

See#1507 - TheToolDefinitiondescription argument is now optional and the order of positional arguments has changed fromname, description, parameters_json_schema, ... toname, parameters_json_schema, description, ... to account for this.

@DouweMDouweM self-assigned thisJul 8, 2025
@hyperlint-aiHyperlint AI
Copy link
Contributor

PR Change Summary

Documented breaking changes in version 0.4.0 of PydanticAI, including updates to dataclass usage and argument order in ToolDefinition.

  • UpdatedEvaluationReport andReportCase to be generic dataclasses instead of Pydantic models.
  • IntroducedEvaluationReportAdapter andReportCaseAdapter for serialization.
  • Made thedescription argument inToolDefinition optional and changed the order of positional arguments.

Modified Files

  • docs/changelog.md

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 thehyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

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 addhyperlint-ignore to the PR to ignore the link check for this PR.

@github-actionsGitHub Actions
Copy link

Docs Preview

commit:eeac1b4
Preview URL:https://13f5306e-pydantic-ai-previews.pydantic.workers.dev

@DouweMDouweM merged commit11d1cde intomainJul 8, 2025
19 checks passed
@DouweMDouweM deleted the 0-4-0-breaking-changes branchJuly 8, 2025 19:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@DouweMDouweM

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@DouweM

[8]ページ先頭

©2009-2025 Movatter.jp