mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
29 lines
621 B
Python
29 lines
621 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
|
|
|
|
|
|
class ContentPartImageImageURLTypedDict(TypedDict):
|
|
url: str
|
|
|
|
|
|
class ContentPartImageImageURL(BaseModel):
|
|
url: str
|
|
|
|
|
|
ContentPartImageType = Literal["image_url",]
|
|
|
|
|
|
class ContentPartImageTypedDict(TypedDict):
|
|
image_url: ContentPartImageImageURLTypedDict
|
|
type: ContentPartImageType
|
|
|
|
|
|
class ContentPartImage(BaseModel):
|
|
image_url: ContentPartImageImageURL
|
|
|
|
type: ContentPartImageType
|