Skip to content

Release 0.19.0

Choose a tag to compare

@github-actions github-actions released this 24 Jul 21:32
01c53be

agent-sdk-go v0.19.0

This release adds Anthropic prompt caching support and fixes a tool-call input surfacing bug affecting providers that do not stream input deltas.

Features

Anthropic Prompt Caching

Anthropic's cache_control breakpoints are now supported, enabling prompt caching for eligible content blocks (system prompts, tool definitions, and long user messages). This can significantly reduce latency and token costs for repeated context. Configure cache breakpoints on your Anthropic requests to take advantage of this feature.

Bug Fixes

Tool Call Input Surfaced Before Execution for No-Delta Providers

Fixed a regression in the agent loop where the fully assembled tool-call input was not being surfaced as an event before execution when using providers that do not emit streaming input deltas (i.e., the tool input arrives in a single chunk rather than incrementally). Consumers observing tool-call events will now consistently see the complete input regardless of the provider's streaming behavior.

Commits

  • Merge pull request #95 from jedwards1230/feat/anthropic-prompt-caching (01c53be)
  • Merge pull request #94 from jedwards1230/fix/toolcall-input-delta-on-drain (1677d3b)

Full Changelog: v0.18.0...v0.19.0