Skip to content

2.0.0

Choose a tag to compare

@psychofict psychofict released this 14 Oct 08:16
· 23 commits to master since this release

A reorganized, installable package with one command, and a tighter scope.

Upgrading from 0.x

  • Files moved: the code is now the browser_llm package; scripts are in scripts/, service templates in deploy/systemd/, and the guides in docs/. The top-level gen_asset.py, design.py, client.py, serve.sh, mcp.sh and healthcheck.sh stay 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 | version replaces running the scripts. python -m browser_llm is the same. The browser-llm console script used to start the server directly; it now takes a subcommand, so browser-llm serve is the old behaviour.
  • Renamed settings: BROWSER_LLM_IMAGE_DIR replaces GEMINI_IMAGE_DIR and IMAGE_DIR, BROWSER_LLM_PUBLIC_URL replaces GEMINI_PUBLIC_URL, and BROWSER_LLM_API replaces GEMINI_API. The old names still work and the server logs which one it found.
  • Forwarding between installs is removed: REMOTE_PROVIDERS and REMOTE_API_KEY are gone, and a server that still sets REMOTE_PROVIDERS logs that it is ignored. Another machine now calls this API directly with BROWSER_LLM_API_KEY (see Configuration).
  • The original single-prompt prototype, gemini_bot.py, is removed.
  • Imports: from client import ask still works from the checkout; new code should use from browser_llm.client import ask.

Added

  • A .env file beside the checkout, read on start; the real environment wins over it. .env.example lists 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.whl installs the package with the dashboard and widget: pip install browser_llm_api-2.0.0-py3-none-any.whl, then browser-llm --help.
  • browser_llm_api-2.0.0.tar.gz is the Python source archive. The full checkout, with scripts/, the systemd templates, the desktop app and the docs, is the tag's source code archive below, or git 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.