mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-05 13:10:31 +08:00
feat: regenerate SDK with updated OpenAPI spec
Speakeasy regeneration with latest schema changes including type renames and new server tool models.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from .chatcontentvideoinput import ChatContentVideoInput, ChatContentVideoInputTypedDict
|
||||
from openrouter.types import BaseModel
|
||||
from typing import Literal
|
||||
from typing_extensions import TypedDict, deprecated
|
||||
|
||||
|
||||
LegacyChatContentVideoType = Literal["input_video",]
|
||||
|
||||
|
||||
@deprecated(
|
||||
"warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
|
||||
)
|
||||
class LegacyChatContentVideoTypedDict(TypedDict):
|
||||
r"""Video input content part (legacy format - deprecated)"""
|
||||
|
||||
type: LegacyChatContentVideoType
|
||||
video_url: ChatContentVideoInputTypedDict
|
||||
r"""Video input object"""
|
||||
|
||||
|
||||
@deprecated(
|
||||
"warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
|
||||
)
|
||||
class LegacyChatContentVideo(BaseModel):
|
||||
r"""Video input content part (legacy format - deprecated)"""
|
||||
|
||||
type: LegacyChatContentVideoType
|
||||
|
||||
video_url: ChatContentVideoInput
|
||||
r"""Video input object"""
|
||||
Reference in New Issue
Block a user