mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
Extract duplicated compaction check+trigger blocks in the session loop into Session::compact_if_needed(). Replace the hardcoded 20_000 token budget with COMPACTION_USER_MESSAGE_TOKEN_BUDGET constant. Change extract_recent_user_messages to take ownership of discarded turns instead of borrowing and cloning. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/arc-api-client | ||