Module

ai.errors

AI layer error hierarchy.

Classes

AIError 0
Base for all chirp.ai errors.

Base for all chirp.ai errors.

ProviderNotInstalledError 0
Raised when httpx is not installed.

Raised when httpx is not installed.

ProviderError 1
Raised when an LLM provider returns an error.

Raised when an LLM provider returns an error.

Methods

Internal Methods 1
__init__ 3
def __init__(self, provider: str, status: int, detail: str) -> None
Parameters
Name Type Description
provider
status
detail
StructuredOutputError 0
Raised when structured output cannot be parsed into the target type.

Raised when structured output cannot be parsed into the target type.