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:
@@ -1,6 +1,7 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from .toolchoiceallowed import ToolChoiceAllowed, ToolChoiceAllowedTypedDict
|
||||
from openrouter.types import BaseModel
|
||||
from typing import Literal, Union
|
||||
from typing_extensions import TypeAliasType, TypedDict
|
||||
@@ -44,15 +45,15 @@ OpenAIResponsesToolChoiceTypeFunction = Literal["function",]
|
||||
|
||||
|
||||
class OpenAIResponsesToolChoiceFunctionTypedDict(TypedDict):
|
||||
type: OpenAIResponsesToolChoiceTypeFunction
|
||||
name: str
|
||||
type: OpenAIResponsesToolChoiceTypeFunction
|
||||
|
||||
|
||||
class OpenAIResponsesToolChoiceFunction(BaseModel):
|
||||
type: OpenAIResponsesToolChoiceTypeFunction
|
||||
|
||||
name: str
|
||||
|
||||
type: OpenAIResponsesToolChoiceTypeFunction
|
||||
|
||||
|
||||
OpenAIResponsesToolChoiceRequired = Literal["required",]
|
||||
|
||||
@@ -68,6 +69,7 @@ OpenAIResponsesToolChoiceUnionTypedDict = TypeAliasType(
|
||||
Union[
|
||||
OpenAIResponsesToolChoiceTypedDict,
|
||||
OpenAIResponsesToolChoiceFunctionTypedDict,
|
||||
ToolChoiceAllowedTypedDict,
|
||||
OpenAIResponsesToolChoiceAuto,
|
||||
OpenAIResponsesToolChoiceNone,
|
||||
OpenAIResponsesToolChoiceRequired,
|
||||
@@ -80,6 +82,7 @@ OpenAIResponsesToolChoiceUnion = TypeAliasType(
|
||||
Union[
|
||||
OpenAIResponsesToolChoice,
|
||||
OpenAIResponsesToolChoiceFunction,
|
||||
ToolChoiceAllowed,
|
||||
OpenAIResponsesToolChoiceAuto,
|
||||
OpenAIResponsesToolChoiceNone,
|
||||
OpenAIResponsesToolChoiceRequired,
|
||||
|
||||
Reference in New Issue
Block a user