mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
28 lines
728 B
Python
28 lines
728 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .openairesponsesannotation import (
|
|
OpenAIResponsesAnnotation,
|
|
OpenAIResponsesAnnotationTypedDict,
|
|
)
|
|
from openrouter.types import BaseModel
|
|
from typing import List, Literal, Optional
|
|
from typing_extensions import NotRequired, TypedDict
|
|
|
|
|
|
ResponseOutputTextType = Literal["output_text",]
|
|
|
|
|
|
class ResponseOutputTextTypedDict(TypedDict):
|
|
type: ResponseOutputTextType
|
|
text: str
|
|
annotations: NotRequired[List[OpenAIResponsesAnnotationTypedDict]]
|
|
|
|
|
|
class ResponseOutputText(BaseModel):
|
|
type: ResponseOutputTextType
|
|
|
|
text: str
|
|
|
|
annotations: Optional[List[OpenAIResponsesAnnotation]] = None
|