Skip to content

[Bug]: Deprecation Warning: Replace Config with ConfigDict for Pydantic v2 Compatibility #678

Open
@banagale

Description

crawl4ai version

0.4.3b2

Expected Behavior

Crawl4AI triggers a deprecation warning in Pydantic v2 due to the use of class-based Config in crawl4ai/models.py.

Current Behavior

Warning is issued:

PydanticDeprecatedSince20: Support for class-based config is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3

Is this reproducible?

Yes

Inputs Causing the Bug

Steps to Reproduce

Code snippets

OS

macos

Python version

3.12.9

Browser

No response

Browser version

No response

Error logs & Screenshots (if applicable)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    🐞 BugSomething isn't working🩺 Needs TriageNeeds attention of maintainers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions