Skip to content

lcode 0.2.2

Choose a tag to compare

@nasser1941 nasser1941 released this 30 Sep 15:17
1ddbd86

Change the context window without leaving your session.

Added

  • /context now 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.
    /ctx is 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-cli

Full changelog: v0.2.1...v0.2.2