Skip to main content

summarize_capabilities

Function summarize_capabilities 

Source
pub fn summarize_capabilities(caps: &WorkerCapabilities) -> String
Expand description

One-line, operator-facing summary of what this worker advertises to the studio on the WS handshake. Logged once per session attempt so the worker’s own logs (and the studio’s shipped-log view) record exactly which task kinds, models, and VRAM budget were offered — the missing complement to log_startup_banner, which only covers the loaded config. Without it, an operator chasing “why won’t my worker claim image jobs” has no record of what the worker told the studio it could do. Pure so the formatting is unit-tested without a live session.