mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
Speakeasy regeneration with latest schema changes including type renames and new server tool models.
38 lines
982 B
Python
38 lines
982 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .reasoningsummarytext import ReasoningSummaryText, ReasoningSummaryTextTypedDict
|
|
from openrouter.types import BaseModel
|
|
from typing import Literal
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
ReasoningSummaryPartDoneEventType = Literal["response.reasoning_summary_part.done",]
|
|
|
|
|
|
class ReasoningSummaryPartDoneEventTypedDict(TypedDict):
|
|
r"""Event emitted when a reasoning summary part is complete"""
|
|
|
|
type: ReasoningSummaryPartDoneEventType
|
|
output_index: float
|
|
item_id: str
|
|
summary_index: float
|
|
part: ReasoningSummaryTextTypedDict
|
|
sequence_number: float
|
|
|
|
|
|
class ReasoningSummaryPartDoneEvent(BaseModel):
|
|
r"""Event emitted when a reasoning summary part is complete"""
|
|
|
|
type: ReasoningSummaryPartDoneEventType
|
|
|
|
output_index: float
|
|
|
|
item_id: str
|
|
|
|
summary_index: float
|
|
|
|
part: ReasoningSummaryText
|
|
|
|
sequence_number: float
|