Expand description
Per-model media and request limits: what a client needs to size images, audio, video and whole requests for one model, such as fitting a video clip’s frames and soundtrack to it, or deciding whether the clip can go whole to a model that reads video natively.
Every field is absent when the node doesn’t know it, never defaulted: a node fills in what it measured when the model loaded, or what its operator set for that hardware, and leaves the rest out. A client that needs a missing limit should say so rather than guess. All fields are left off the wire when absent, so peers before 0.5.7 read and send entries unchanged.
Catalog entries carry them as CatalogModel::limits;
the context window stays in CatalogModel::context.
Structs§
- Media
Limits - Media and request limits for one model. See the module docs.