Skip to content

v1.3.7

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:19
· 4 commits to main since this release
38acefc

Blitz 1.3.7: an experimental optimizer for each conversation

Blitz can now send the model less on each call. It drops filler from your prompts and noise from tool output, and the conversation keeps everything in full.

Try it: in any conversation, in the terminal or the desktop app, type /optimize coding or /optimize on, which uses general mode. /optimize status shows the settings and /optimize off turns it off.

What's new

  • Leaner prompts. Filler such as "Hi, could you please…", "I'd like you to…" and "Thanks so much in advance!" is removed from every sentence, not just the first. In general mode, runs of spaces also code blocks, inline code, stack traces, file paths and pasted content are never changed. Quieter tool output. Results from shell commands, background MCP tools are cleaned up:
    • terminal color codes are removed - only the final redraw of a progress bar is kept
    • extra blank lines and repeated lines are folded - output over the budget keeps its first 30% and its last of a long test run survives

The budget defaults to about 2000 tokens; change it with

  • Nothing lost. Only the request sent to the model changes. The conversation keeps the full prompts and output, so /optimize off brings back the full context from the next call. read_file, search and edit re
  • Separate settings for each conversation, and snapshots carry them.
  • Savings metric. With telemetry on, the blitz.optimizer was saved.

Good to know

  • The optimizer is off by default and experimental: it may and Blitz warns you when you turn it on. Leave it off for work where every word of a prompt matters.
  • In the desktop app it's the /optimize command for now; a e later.

Upgrade: Blitz updates itself. You can also run sudo apt update blitz, or download it from the GitHub release(https://github.com/retail-cortex/blitz/releases/tag/v1.3.7).