Skip to content

AnthropicPromptCachingConfig

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/middleware/types.ts:24

Configuration for Anthropic prompt caching middleware.

optional ttl?: "5m" | "1h"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/middleware/types.ts:29

Cache TTL (time to live). Examples: “5m” for 5 minutes, “1h” for 1 hour