mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
37 lines
857 B
Python
37 lines
857 B
Python
"""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
|
|
|
|
|
|
ReasoningSummaryTextDeltaEventType = Literal["response.reasoning_summary_text.delta",]
|
|
|
|
|
|
class ReasoningSummaryTextDeltaEventTypedDict(TypedDict):
|
|
r"""Event emitted when reasoning summary text delta is streamed"""
|
|
|
|
delta: str
|
|
item_id: str
|
|
output_index: int
|
|
sequence_number: int
|
|
summary_index: int
|
|
type: ReasoningSummaryTextDeltaEventType
|
|
|
|
|
|
class ReasoningSummaryTextDeltaEvent(BaseModel):
|
|
r"""Event emitted when reasoning summary text delta is streamed"""
|
|
|
|
delta: str
|
|
|
|
item_id: str
|
|
|
|
output_index: int
|
|
|
|
sequence_number: int
|
|
|
|
summary_index: int
|
|
|
|
type: ReasoningSummaryTextDeltaEventType
|