feat: expose prompt caching TTL setting in UI (#273)

Adds a dropdown to select ENABLE_PROMPT_CACHING_1H or FORCE_PROMPT_CACHING_5M env vars when starting Claude Code sessions. Requires Claude Code v2.1.108+.
This commit is contained in:
2026-05-06 14:01:00 -07:00
committed by Naomi Carrigan
parent 3f57937d54
commit 38692391e0
12 changed files with 67 additions and 0 deletions
+1
View File
@@ -413,6 +413,7 @@ User: ${formattedMessage}`;
show_clear_context_on_plan_accept: config.show_clear_context_on_plan_accept ?? true,
custom_model_option: config.custom_model_option || null,
effort_level: config.effort_level || null,
prompt_caching_ttl: config.prompt_caching_ttl || null,
},
});