Skip to content

ModelError

Source code in docs_src/capo_workspaces/types/model_error.py
class ModelError(TypedDict, closed=True):
    model_id: "capo_workspaces.types.model_id.ModelId"
    """<p>The identifier of the model.</p>"""
    error_code: "capo_workspaces.types.model_error_code.ModelErrorCode"
    """<p>The reason that the service couldn't return the item. <code>NOT_FOUND</code> indicates that the item doesn't exist or isn't available to your account.</p>"""
    message: (
        "capo_workspaces.types.agentic_batch_error_message.AgenticBatchErrorMessage"
    )
    """<p>A description of the error.</p>"""

error_code instance-attribute

error_code: ModelErrorCode

The reason that the service couldn't return the item. NOT_FOUND indicates that the item doesn't exist or isn't available to your account.

message instance-attribute

A description of the error.

model_id instance-attribute

model_id: ModelId

The identifier of the model.