mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user