"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations from openrouter.types import BaseModel from typing import Literal from typing_extensions import TypedDict StopServerToolsWhenStepCountIsType = Literal["step_count_is",] class StopServerToolsWhenStepCountIsTypedDict(TypedDict): r"""Stop after the agent loop has executed this many steps.""" step_count: int type: StopServerToolsWhenStepCountIsType class StopServerToolsWhenStepCountIs(BaseModel): r"""Stop after the agent loop has executed this many steps.""" step_count: int type: StopServerToolsWhenStepCountIsType