ENABLE_PROMPT_CACHING_1H

Description

Environment variable shipped in v2.1.108 (April 14, 2026) that opts direct API key, Bedrock, Vertex, and Foundry users into the 1-hour prompt cache TTL explicitly. Deprecates but still honors the older ENABLE_PROMPT_CACHING_1H_BEDROCK. Community response to the March 6 silent regression — arrived 40 days late and did not address the April 9 sub-agent regression.

Key claims

Relations

Sources

src-20260419-392eceac3ff7