Configuration reference¶
Backend environment variables (set before starting wl.serve())¶
Variable |
Default |
Description |
|---|---|---|
|
|
Log level ( |
|
|
Host the backend gRPC server binds to |
|
|
Port the backend gRPC server listens on |
|
|
|
|
|
|
|
|
Directory containing cert/key files |
|
(unset) |
Optional metadata-token auth (on top of mTLS) |
|
|
Raise for large tensors / image batches |
|
|
|
UI server environment variables (set before weightslab start)¶
Variable |
Default |
Description |
|---|---|---|
|
|
Interface the UI server binds to |
|
|
HTTP port ( |
|
|
Backend gRPC host to proxy to |
|
|
Backend gRPC port to proxy to |
|
|
Certs dir (read when |
|
Port the agent (OpenCode) server is started on; falls back to a free port if taken |
|
|
(unset) |
Adopt an already-running agent server instead of spawning one (shared with the SDK agent) |
Frontend runtime feature toggles¶
These are injected as window.* globals when the UI is served.
Set them as environment variables before weightslab start.
Variable |
Default |
Effect when |
|---|---|---|
|
|
Remove plots board + Signals card |
|
|
Remove data grid + metadata/details panel |
|
Remove Hyperparameters section (read-only HPs) |
|
|
|
Remove agent chat bar |
|
|
Cap on metadata histogram bars |
|
|
Max bounding boxes per thumbnail (per overlay) |
|
|
Max bounding boxes per modal image (per overlay) |