pipe.prompt_empty
A pipe's prompt is empty
| Type | https://mthds.ai/errors/pipe.prompt_empty |
| Family | pipe: A pipe failing at run time because of what the method does. |
| Domain | input: the caller acts, by changing the request or its inputs |
| 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 prompt rendered from the method's template and the inputs holds no text, usually because the inputs it is written from are empty.
What to do
Check that the inputs the prompt reads hold text, and send them again.
Next steps
A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the caller, and the second for any other reader.
| Reader | Kind | Detail |
|---|---|---|
| The domain's actor | change_input |
Give the inputs that the prompt of pipe '{pipe}' is written from, then send the request again. |
| Any other reader | change_input |
Pass this to the caller, whose inputs leave the prompt of pipe '{pipe}' empty. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
The
{part}of pipe '{pipe}' rendered empty from these inputs.
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
pipe |
identifier |
The pipe whose prompt is empty. |
part |
one of user_text, system_text, image_prompt |
Which part of the prompt rendered empty. |
See also
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry