Skip to content

Model proxy/gateway/router #1381

@zachmayer

Description

@zachmayer

Description

Braintrust and Cloudflare, among others, provide AI gateways or proxies that do things like caching your requests and routing them between providers.

I've had some difficulty getting both of these to work correctly with Pydantic, mostly because of small differences in abstractions and programming styles.

I'd really love to see an AI proxy or gateway as part of the Pydantic AI ecosystem. I know this is not a small ask, but it'd be very useful to me.

References

https://www.braintrust.dev/docs/guides/proxy

https://developers.cloudflare.com/ai-gateway/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions