Repository navigation
2.0.0
A reorganized, installable package with one command, and a tighter scope.
Upgrading from 0.x
- Files moved: the code is now the
browser_llmpackage; scripts are inscripts/, service templates indeploy/systemd/, and the guides indocs/. The top-levelgen_asset.py,design.py,client.py,serve.sh,mcp.shandhealthcheck.shstay as forwarding files, so a service, MCP config or script that calls them by path keeps working. New installs should use the new paths. - One command:
browser-llm serve | login | ask | image | design | mcp | health | versionreplaces running the scripts.python -m browser_llmis the same. Thebrowser-llmconsole script used to start the server directly; it now takes a subcommand, sobrowser-llm serveis the old behaviour. - Renamed settings:
BROWSER_LLM_IMAGE_DIRreplacesGEMINI_IMAGE_DIRandIMAGE_DIR,BROWSER_LLM_PUBLIC_URLreplacesGEMINI_PUBLIC_URL, andBROWSER_LLM_APIreplacesGEMINI_API. The old names still work and the server logs which one it found. - Forwarding between installs is removed:
REMOTE_PROVIDERSandREMOTE_API_KEYare gone, and a server that still setsREMOTE_PROVIDERSlogs that it is ignored. Another machine now calls this API directly withBROWSER_LLM_API_KEY(see Configuration). - The original single-prompt prototype,
gemini_bot.py, is removed. - Imports:
from client import askstill works from the checkout; new code should usefrom browser_llm.client import ask.
Added
- A
.envfile beside the checkout, read on start; the real environment wins over it..env.examplelists every setting. BROWSER_LLM_PREWARM=0, which starts no browser until a request needs one.browser-llm health, a one-screen summary of the running server.- A wheel and source archive that install the package with the dashboard and widget inside it.
- Docs reorganized into task pages, plus this changelog, a contributor guide, a release checklist, and issue and pull-request templates.
Changed
- Pillow is a core dependency, since design sets and measured colours need it.
~in the image folder setting is expanded wherever it comes from.
Files
browser_llm_api-2.0.0-py3-none-any.whlinstalls the package with the dashboard and widget:pip install browser_llm_api-2.0.0-py3-none-any.whl, thenbrowser-llm --help.browser_llm_api-2.0.0.tar.gzis the Python source archive. The full checkout, withscripts/, the systemd templates, the desktop app and the docs, is the tag's source code archive below, orgit clone.
How this release was checked
GitHub Actions is locked on this account for billing, so CI did not run. The same steps were run by hand on the tagged code: ruff clean; 248 unit tests passing; the wheel built, installed into a clean environment and ran browser-llm version; an MCP handshake listed all seven tools. It was also checked live on a signed-in install: a text answer, an image made in ChatGPT's Create image mode, the MCP server through its forwarding file, and the watchdog through its forwarding file.