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
@@ -229,6 +229,7 @@
show_clear_context_on_plan_accept: cfg.show_clear_context_on_plan_accept ?? true,
custom_model_option: cfg.custom_model_option || null,
effort_level: cfg.effort_level || null,
prompt_caching_ttl: cfg.prompt_caching_ttl || null,
},
});
} catch (error) {