Commit Graph

4 Commits

Author SHA1 Message Date
ilya-bov
1d0fa74d4a perf(agent): optimize context for prompt caching and limit history
Round datetime in system prompt to the hour so the prefix stays
stable across requests, enabling provider-side prompt caching
(Anthropic ~5 min, OpenAI ~1 hr).

Trim chat history to 80 messages via the existing History class
to prevent context window overflow on long conversations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 15:21:01 +03:00
ilya-bov
ce362a836b Harden tool execution recovery and fix multi-tab sync hangs 2026-02-27 17:06:17 +03:00
ilya-bov
dcb1eabb4e feat: improve tool execution reliability and package installs 2026-02-27 15:08:31 +03:00
ilya-bov
75ab0cecf0 Initial commit 2026-02-25 16:14:15 +03:00