mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from openrouter.types import BaseModel
|
||||
from typing import Optional
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
class SearchModelsServerToolConfigTypedDict(TypedDict):
|
||||
r"""Configuration for the openrouter:experimental__search_models server tool"""
|
||||
|
||||
max_results: NotRequired[int]
|
||||
r"""Maximum number of models to return. Defaults to 5, max 20."""
|
||||
|
||||
|
||||
class SearchModelsServerToolConfig(BaseModel):
|
||||
r"""Configuration for the openrouter:experimental__search_models server tool"""
|
||||
|
||||
max_results: Optional[int] = None
|
||||
r"""Maximum number of models to return. Defaults to 5, max 20."""
|
||||
Reference in New Issue
Block a user