Closed Undertone0809 closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Hi @merwanehamadi , could you please review this PR? I would greatly appreciate your feedback. Thank you.
What feature of v1 do we need that v2 doesn’t support?
I see the code. Current pydantic usage is compatible with both v1 and v2, it means this PR is unnecessary, but the problem is that poetry needs to be compatible with v2.
I create a new PR here #114
Pull Request
Description
Add pydantic v2 compatibility, original agent-protocol can only use in pydantic v1.
Detail see https://docs.pydantic.dev/2.0/migration/#continue-using-pydantic-v1-features
Checklist
Please review and check the following items to ensure your pull request can be processed smoothly:
[x] My code adheres to the project's coding standards and style guidelines.
[x] I have tested my changes thoroughly, including unit tests where applicable.
[ ] I have updated the documentation to reflect any changes made in this pull request.
[x] My branch is up-to-date with the latest changes from the main branch.
[x] I have received code review feedback and addressed any comments or concerns.
Additional Notes
This method is forked from langchain.
References, Fixes and Closes