Skip to content

docs: document CacheConfig strategy="anthropic" for ARN inference profiles#823

Open
Zelys-DFKH wants to merge 1 commit into
strands-agents:mainfrom
Zelys-DFKH:docs/cache-config-arn-profiles
Open

docs: document CacheConfig strategy="anthropic" for ARN inference profiles#823
Zelys-DFKH wants to merge 1 commit into
strands-agents:mainfrom
Zelys-DFKH:docs/cache-config-arn-profiles

Conversation

@Zelys-DFKH
Copy link
Copy Markdown

Summary

Adds a troubleshooting section explaining why CacheConfig(strategy="auto") doesn't work with ARN-based inference profiles and how to fix it using strategy="anthropic".

Context

This addresses #821, which was moved from sdk-python#2233. Maintainer feedback indicated this is a documentation gap — users need clear guidance on when to use the explicit strategy.

Changes

  • Added troubleshooting section "CacheConfig with ARN-based inference profiles" in amazon-bedrock.mdx
  • Includes Python and TypeScript examples showing the correct configuration
  • Explains the design rationale (no extra API calls or IAM permissions)

Related Issue

Resolves #821

…files

Adds a troubleshooting section explaining why `CacheConfig(strategy="auto")` doesn't work with ARN-based inference profiles and how to fix it using `strategy="anthropic"`.

Resolves strands-agents#821
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.

[BUG] CacheConfig(strategy="auto") does not detect Claude models when using ARN-based inference profiles

1 participant