"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .openresponsesresult import OpenResponsesResult, OpenResponsesResultTypedDict
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


OpenResponsesInProgressEventType = Literal["response.in_progress",]


class OpenResponsesInProgressEventTypedDict(TypedDict):
    r"""Event emitted when a response is in progress"""

    response: OpenResponsesResultTypedDict
    r"""Complete non-streaming response from the Responses API"""
    sequence_number: int
    type: OpenResponsesInProgressEventType


class OpenResponsesInProgressEvent(BaseModel):
    r"""Event emitted when a response is in progress"""

    response: OpenResponsesResult
    r"""Complete non-streaming response from the Responses API"""

    sequence_number: int

    type: OpenResponsesInProgressEventType
