"""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."""
