Skip to content

Feature/context budget kv cache - #493

Merged
CraftOS-dev merged 2 commits into
feature/session-based-browserfrom
feature/context-budget-kv-cache
Oct 20, 2026
Merged

CraftOS-dev merged 2 commits into
feature/session-based-browserfrom
feature/context-budget-kv-cache

Conversation

@zfoong

@zfoong zfoong commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

What and why:
The context management is still having issue with frequent folding, causing waste of token and time. This is caused by context window not properly managed. I introduced a hard-coded approach to maintain a catalog for the model context windows.

Features added.
Model catalog for per-model context windows, KV cache fixes, context/cache readout, /clear reset, session resume.

@zfoong
zfoong changed the base branch from V1.4.4 to feature/session-based-browser October 19, 2026 07:55
@zfoong
zfoong requested a review from ahmad-ajmal October 19, 2026 07:56
@CraftOS-dev
CraftOS-dev marked this pull request as ready for review October 19, 2026 08:46
@CraftOS-dev
CraftOS-dev merged commit b34cf7c into feature/session-based-browser Oct 20, 2026
@CraftOS-dev
CraftOS-dev deleted the feature/context-budget-kv-cache branch October 26, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants