Files
openrouter-python-sdk-retry…/src/openrouter/components/streameventsresponseincomplete.py
T

31 lines
942 B
Python

"""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
StreamEventsResponseIncompleteType = Literal["response.incomplete",]
class StreamEventsResponseIncompleteTypedDict(TypedDict):
r"""Event emitted when a response is incomplete"""
response: OpenResponsesResultTypedDict
r"""Complete non-streaming response from the Responses API"""
sequence_number: int
type: StreamEventsResponseIncompleteType
class StreamEventsResponseIncomplete(BaseModel):
r"""Event emitted when a response is incomplete"""
response: OpenResponsesResult
r"""Complete non-streaming response from the Responses API"""
sequence_number: int
type: StreamEventsResponseIncompleteType