Examples and guides for using the OpenAI API
"""Errors raised by GPT Live assistant lifecycle and delegated tools."""
from __future__ import annotations
class LiveResponseError(RuntimeError):
"""A transport, lifecycle, or delegated response failed."""
def __init__(self, message: str, *, failure_stage: str) -> None:
super().__init__(message)
self.failure_stage = failure_stage