mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
25 lines
620 B
Python
25 lines
620 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .anthropicimagemimetype import AnthropicImageMimeType
|
|
from openrouter.types import BaseModel
|
|
from typing import Literal
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
AnthropicBase64ImageSourceType = Literal["base64",]
|
|
|
|
|
|
class AnthropicBase64ImageSourceTypedDict(TypedDict):
|
|
data: str
|
|
media_type: AnthropicImageMimeType
|
|
type: AnthropicBase64ImageSourceType
|
|
|
|
|
|
class AnthropicBase64ImageSource(BaseModel):
|
|
data: str
|
|
|
|
media_type: AnthropicImageMimeType
|
|
|
|
type: AnthropicBase64ImageSourceType
|