Releases: AIPowerGrid/grid-text-worker
Releases · AIPowerGrid/grid-text-worker
Release list
v0.3.3 — web dashboard render fix
Fixed
- Web dashboard 500 on fresh installs (community fix, thanks @alsldlflglhljlk, #5). All
TemplateResponsecalls now use the modern Starlette(request, name, context)signature, and thefastapifloor is raised to>=0.110(Starlette new enough for that signature). Only affects thegrid-inference-workerweb control dashboard; streaming/job handling is unchanged.
v0.3.1 — streaming-only + token cap fix
Two operator-facing fixes.
Fixed
- Streaming-only. The legacy
/v2HTTP poll loop is retired (the grid's/v2API is gone and returns410).GRID_STREAMINGnow defaults totrue, every start path uses the multi-backend supervisor, and the dead/v2client is removed. Workers that were silently polling/v2now connect over WebSocket. Update to fix the410 Goneerrors. - No more token cap. The worker was clamping every request's
max_tokensdown toGRID_MAX_LENGTH(4096) — cutting long outputs off mid-sentence and starving multi-step tool calls. It now honors the client's requestedmax_tokensas-is and only falls back to a default when none is given. Defaults raised to 32768 output / 131072 context.
Notes
- Multi-backend: every backend in
GRID_BACKENDSis served (set up via the quickstart, each validated live). - To allow even larger single outputs, set
GRID_MAX_LENGTH. Existing single-backend.envconfigs keep working.
v0.3.0 — multi-backend quickstart + supervisor
Multi-backend setup wizard, and the worker now serves every configured backend (not just the first).
Added
- Multi-backend quickstart. The setup wizard configures several backends in one run (an "add another backend?" loop). Each backend is validated live: the model is picked from the backend's real served list, then a real completion is run against
(url, key, model)before it goes on the grid. Stale keys and wrong model names are caught at setup instead of failing silently. - Streaming is now the default connection mode. Legacy HTTP polling is opt-in (the
/v2queue is retired).
Fixed
run_worker.pyand the headless streaming path now launch the multi-backend supervisor (run_workers()), which keeps one connection alive per backend and restarts dead ones. Previously only the first backend inGRID_BACKENDSstarted, so a 2nd/3rd model never came online.
Notes
- Existing single-backend
.envconfigs keep working unchanged.
v0.2.1 — fix dashboard on modern Starlette
Fixes
- Cannot compile/run from source (#2) — the web dashboard used the old
TemplateResponse(name, context)signature, which breaks on current Starlette
(seen as a jinja2unhashable type: dicterror on first request). All dashboard
routes now use the modernTemplateResponse(request, name, context)form, and the
fastapifloor is raised to>=0.110(bundlesstarlette>=0.36) so the signature
is always present on a freshpip install.
Upgrade: git pull && uv pip install -e . (or reinstall from this release).
v0.1.0 - Initial Release
First early release of the Grid inference worker. Run a local model, connect to the Grid, and start earning.