model.unknown
The method names a model that does not exist
| Type | https://mthds.ai/errors/model.unknown |
| 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
A model reference that no catalog the runtime reads knows.
What to do
Look in params.suggestions for the model the reference most likely meant, or list the runner's models with GET /models, and correct the reference.
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 |
Name a model that exists in place of '{model}', then run the method again. |
| Any other reader | contact_owner |
Ask the method's owner to name a model that exists in place of '{model}'. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
The method names the
{model_type}model '{model}', which no catalog knows.
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
model |
identifier |
The model reference the method gives. |
model_type |
identifier |
The kind of model, such as an LLM or an image generator. |
suggestions |
list of identifier |
The models the reference most likely meant, the likeliest first. |
See also
- Model References
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry