perago.TaskInputError#

exception perago.TaskInputError[源代码]#

Raised when Conductor task input does not match the Perago contract.

Task input errors are attempt-local validation failures raised before a task body is invoked. They cover malformed workspace input, missing params, extra fields, and outputs that cannot be validated against the declared Pydantic model.

参见

run_workspace_task_attempt

Validate workspace attempt input and output.

run_workspace_free_task_attempt

Validate workspace-free attempt input and output.

WorkspaceInput

Validated workspace locator model.

Examples

>>> TaskInputError("workspace task input requires workspace and params")
TaskInputError('workspace task input requires workspace and params')