mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
21 lines
717 B
Python
21 lines
717 B
Python
"""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."""
|