mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from openrouter.types import BaseModel
|
||||
from typing import Literal, Optional
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
WebSearchUserLocationServerToolType = Literal["approximate",]
|
||||
|
||||
|
||||
class WebSearchUserLocationServerToolTypedDict(TypedDict):
|
||||
r"""Approximate user location for location-biased results."""
|
||||
|
||||
city: NotRequired[str]
|
||||
country: NotRequired[str]
|
||||
region: NotRequired[str]
|
||||
timezone: NotRequired[str]
|
||||
type: NotRequired[WebSearchUserLocationServerToolType]
|
||||
|
||||
|
||||
class WebSearchUserLocationServerTool(BaseModel):
|
||||
r"""Approximate user location for location-biased results."""
|
||||
|
||||
city: Optional[str] = None
|
||||
|
||||
country: Optional[str] = None
|
||||
|
||||
region: Optional[str] = None
|
||||
|
||||
timezone: Optional[str] = None
|
||||
|
||||
type: Optional[WebSearchUserLocationServerToolType] = None
|
||||
Reference in New Issue
Block a user