Skip to content

fix: update Pydantic V2 compatibility - #14

Merged
mannaandpoem merged 4 commits into
FoundationAgents:mainfrom
sylearn:main
Mar 7, 2025
Merged

mannaandpoem merged 4 commits into
FoundationAgents:mainfrom
sylearn:main

Conversation

@sylearn

@sylearn sylearn commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

Update ToolResult class to be compatible with Pydantic V2 API changes:

  • Replace __fields__ with model_fields
  • Replace dict() with model_dump()

@mannaandpoem

Copy link
Copy Markdown
Collaborator

LGTM

@mannaandpoem
mannaandpoem merged commit bdbbd64 into FoundationAgents:main Mar 7, 2025
pangzheng added a commit to pangzheng/OpenManus that referenced this pull request Mar 14, 2025
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.

2 participants