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

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


ReasoningDeltaEventType = Literal["response.reasoning_text.delta",]


class ReasoningDeltaEventTypedDict(TypedDict):
    r"""Event emitted when reasoning text delta is streamed"""

    content_index: int
    delta: str
    item_id: str
    output_index: int
    sequence_number: int
    type: ReasoningDeltaEventType


class ReasoningDeltaEvent(BaseModel):
    r"""Event emitted when reasoning text delta is streamed"""

    content_index: int

    delta: str

    item_id: str

    output_index: int

    sequence_number: int

    type: ReasoningDeltaEventType
