mirror of
https://github.com/eggent-ai/eggent.git
synced 2026-03-07 18:13:07 +00:00
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>