Skip to main content

Description

Update a registered model from its reactor.yaml spec, or apply a targeted status / visibility change. Spec-driven update (default, no flags): The update payload is built ENTIRELY from the model spec - the reactor.yaml discovered by walking up from the current directory (stopping at the repository root), or the file passed via --model-file. The spec is the source of truth: description, resources (CPU / memory / GPU), and extra-args are applied exactly as written, and fields ABSENT from the spec are cleared on the server. public is the exception: omit it to leave the model as public or private as it already is on the server, or write it to force the value. model.name only selects the target model (the model name is immutable and never changed); model.version is ignored. An explicit <name> must match the spec’s model.name when both are present. Targeted changes (--status, --public / --private): When any of these flags is given, ONLY those limited changes are applied - every value in reactor.yaml is ignored and nothing else on the model is touched. --status takes ACTIVE, DEPRECATED, or DISABLED. --public and --private are mutually exclusive. Status and visibility can be combined in a single call. --model-file cannot be combined with these flags. Examples:

Options

Global options

See also