Skip to content

model.capability_unsupported

The model cannot do what the step asks

Type https://mthds.ai/errors/model.capability_unsupported
Family model: The model a step names.
Domain method: the method's author acts, by changing the method
Retry no: repeating the operation fails the same way
HTTP status 422
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

The model is served, but cannot take this kind of input, produce this kind of output or honour this setting.

What to do

Pick a model that has the capability, such as one that reads images for a step that sends them, or change the step.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the method's author, and the second for any other reader.

Reader Kind Detail
The domain's actor change_model Use a model that supports {capability}, or change what the step asks, then run the method again.
Any other reader contact_owner Ask the method's owner to use a model that supports {capability}.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The model '{model}' does not support {capability}, which the step needs.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
model identifier The model the step names.
capability identifier What the step asks that the model cannot do.

See also