Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for ["cache-control"] = {"type": "ephemeral"} in Anthropic #1041

Open
@heyjohnlim

Description

@heyjohnlim

Description

Hello, i am testing a port of my agentic app to Pydantic AI, and i would like to request easy support prompt caching ["cache-control"] = {"type": "ephemeral"} for Anthropic models.

I find that my costs are reduced by half when i enable this feature in my current app, and i think lots of people would find it beneficial. At the moment i am caching tool calls and system prompt.

Thanks in advance.

References

https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp