Repository navigation
v0.6.6
whichllm 0.6.6
A fix for a crash at start. If you installed or upgraded whichllm since November 9 and it stopped with the error below, this release is for you.
TypeError: Option() got an unexpected keyword argument 'click_type'
What happened
typer, the library whichllm's command line is built on, released 0.29.0 on November 9 and removed an argument that --context-length used. whichllm asked for typer>=0.9 with no upper bound, so a fresh pip install whichllm or uvx whichllm got the new typer and failed at import. That hit every whichllm release, not only the newest. Homebrew installs pin their dependencies and kept working, and so did any install from before November 9.
I found it on November 12, running 0.6.5 on Windows from a clean environment. Nobody had reported it. My tests run against locked dependencies, with an older typer, so they kept passing.
What changed
--context-lengthno longer uses the removed argument. It behaves as before.64kis 65536, and a bad value says why.- whichllm now asks for typer 0.15 or newer. typer 0.9, the old lower bound, doesn't work with current click anyway.
- The tests now also run against the newest release of every dependency, on every push and once a day. A failed daily run opens an issue, so the next break of this kind shows up within a day and not when a user hits it.
How it was checked
All 1,986 tests pass with the locked dependencies and with the newest ones (typer 0.29.1). The same option code was tried on typer 0.15.4, 0.24.1, 0.28.0 and 0.29.1. A wheel of this release, installed on Windows with the newest dependencies, ran the ranking, engines, plan, upgrade, hardware and the JSON output.
Upgrade
uv tool upgrade whichllm
pip install -U whichllm
brew upgrade whichllmEverything else is in CHANGELOG.md.