Skip to content

Add Anthropic prompt caching, enabled by default for all langfun Anthropic +#707

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_909723729
May 5, 2026
Merged

Add Anthropic prompt caching, enabled by default for all langfun Anthropic +#707
copybara-service[bot] merged 1 commit intomainfrom
test_909723729

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented May 4, 2026

Add Anthropic prompt caching, enabled by default for all langfun Anthropic +
VertexAIAnthropic users. Mirrors Gemini implicit prompt caching: zero opt-in,
zero configuration, automatic cache_control breakpoints on system prompt and
last message content block.

@copybara-service copybara-service Bot force-pushed the test_909723729 branch 3 times, most recently from 74e1937 to b44583e Compare May 4, 2026 23:37
@copybara-service copybara-service Bot changed the title Add Anthropic prompt caching utilities and restructure agent prompt layout for improved prompt caching efficiency. Add Anthropic prompt caching, enabled by default for all langfun Anthropic + May 4, 2026
…ropic +

VertexAIAnthropic users. Mirrors Gemini implicit prompt caching: zero opt-in,
zero configuration, automatic cache_control breakpoints on system prompt and
last message content block.

PiperOrigin-RevId: 910327989
@copybara-service copybara-service Bot merged commit bb21332 into main May 5, 2026
1 check passed
@copybara-service copybara-service Bot deleted the test_909723729 branch May 5, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant