fix: add overlay to remove nullable from pagination offset params (#121)

This commit is contained in:
Matt Apperson
2026-04-14 12:48:15 -04:00
committed by GitHub
parent 2bba049182
commit b2386114cd
440 changed files with 36150 additions and 32168 deletions
@@ -1,6 +1,10 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .datetimeservertoolconfig import (
DatetimeServerToolConfig,
DatetimeServerToolConfigTypedDict,
)
from openrouter.types import BaseModel
from typing import Literal, Optional
from typing_extensions import NotRequired, TypedDict
@@ -9,21 +13,12 @@ from typing_extensions import NotRequired, TypedDict
DatetimeServerToolType = Literal["openrouter:datetime",]
class DatetimeServerToolParametersTypedDict(TypedDict):
timezone: NotRequired[str]
r"""IANA timezone name (e.g. \"America/New_York\"). Defaults to UTC."""
class DatetimeServerToolParameters(BaseModel):
timezone: Optional[str] = None
r"""IANA timezone name (e.g. \"America/New_York\"). Defaults to UTC."""
class DatetimeServerToolTypedDict(TypedDict):
r"""OpenRouter built-in server tool: returns the current date and time"""
type: DatetimeServerToolType
parameters: NotRequired[DatetimeServerToolParametersTypedDict]
parameters: NotRequired[DatetimeServerToolConfigTypedDict]
r"""Configuration for the openrouter:datetime server tool"""
class DatetimeServerTool(BaseModel):
@@ -31,4 +26,5 @@ class DatetimeServerTool(BaseModel):
type: DatetimeServerToolType
parameters: Optional[DatetimeServerToolParameters] = None
parameters: Optional[DatetimeServerToolConfig] = None
r"""Configuration for the openrouter:datetime server tool"""