lcode 0.2.2
Change the context window without leaving your session.
Added
/contextnow lets you change the context window mid-session: it lists the sizes the model
supports with the memory each needs and whether it fits on the GPU, and you pick one (or type
/context 128k). If the conversation is too long for a smaller size, lcode summarizes it first.
/ctxis a shortcut for the same command.
❯ /context
In use: 14.2K of 256K tokens (5%) in 1 message; auto-compacts at 85%.
Context window for lcode-qwen3.6-35b
# Size Memory · fit
1 16K ~22 GB · GPU + RAM
2 32K ~23 GB · GPU + RAM
…
5 256K ~28 GB · GPU + RAM current, recommended
Choose a number, a size like 96k, or press Enter to keep 256K: 2
Context window set to 32K tokens. The model reloads on the next request.
Upgrade
uv tool upgrade lcode-cli # or: pipx upgrade lcode-cliFull changelog: v0.2.1...v0.2.2