fabro/crates
Bryan Helmkamp 915cdd2a1f Build system prompt once in initialize() instead of per-input
Moves build_system_prompt() from run_single_input() to initialize(),
storing the result as a Session field. This makes the prompt's
static-ness explicit and guarantees Anthropic cache breakpoint 1
always hits. Internal methods (build_request, check_context_usage,
compact_context, estimate_token_count) no longer take a system_prompt
parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 19:40:48 -05:00
..
agent Build system prompt once in initialize() instead of per-input 2026-02-27 19:40:48 -05:00
attractor Consolidate redact and terminal crates into util 2026-02-27 18:44:19 -05:00
git-storage Add git-storage crate for storing data in git object database 2026-02-24 23:17:44 -05:00
llm Simplify LLM crate: constructors, shared HTTP/SSE infra, Deref delegation 2026-02-27 19:12:33 -05:00
util Consolidate redact and terminal crates into util 2026-02-27 18:44:19 -05:00