Skip to content

Support Pydantic AI v2.0.0 #208

Description

@tai-bo

Using restate-sdk[serde]==1.0.0 and pydantic-ai==2.0.0, but got:

ModuleNotFoundError: No module named 'pydantic_ai.builtin_tools'

When downgraded to pydantic-ai<1.95.0, everything works fine.

This is because:
pydantic/pydantic-ai#5396

More specifically, pydantic_ai.builtin_tools shim package (delete; importers must use pydantic_ai.native_tools).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions