docs: document prompt_caching.cache_ttl in cli-config example

Made-with: Cursor
This commit is contained in:
WildCat Eng Manager 2026-04-19 13:46:45 -05:00 committed by Teknium
parent 7626f3702e
commit 9e6f34a76e

View file

@ -326,6 +326,16 @@ compression:
# To pin a specific model/provider for compression summaries, use the # To pin a specific model/provider for compression summaries, use the
# auxiliary section below (auxiliary.compression.provider / model). # auxiliary section below (auxiliary.compression.provider / model).
# =============================================================================
# Anthropic prompt caching TTL
# =============================================================================
# When prompt caching is active (Claude via OpenRouter or native Anthropic),
# Anthropic supports two TTL tiers for cached prefixes: "5m" (default) and
# "1h". Other values are ignored and "5m" is used.
#
prompt_caching:
cache_ttl: "5m" # use "1h" for long sessions with pauses between turns
# ============================================================================= # =============================================================================
# Auxiliary Models (Advanced — Experimental) # Auxiliary Models (Advanced — Experimental)
# ============================================================================= # =============================================================================