Repository navigation
Publish Release
·
197 commits
to main
since this release
What's New
Context Window Manager
Julia now intelligently manages its context window to prevent hallucinations and maintain focus during long conversations.
- Dynamic budget system — Adapts context allocation based on the model's actual context window size (discovered via Ollama API)
- Structured compaction — When context grows too large, conversations are summarized into structured JSON (task goal, files modified, decisions made, pending work)
instead of lossy flat text - Task anchoring — The user's original goal is pinned at the top of context and never compacted away
- Message priority scoring — File writes and user messages are retained over read results when trimming is needed
- Context health monitoring — 4-level system (ok → warning → critical → emergency) with automatic emergency compaction to prevent out-of-context failures
- Smart token estimation — Replaced naive
chars/4with more accuratechars/3.5plus per-message overhead - Dynamic tool result caps — Tool output limits adapt to remaining budget instead of a hardcoded 12KB cutoff