"""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 StopServerToolsWhenHasToolCallType = Literal["has_tool_call",] class StopServerToolsWhenHasToolCallTypedDict(TypedDict): r"""Stop after a tool with this name has been called.""" tool_name: str type: StopServerToolsWhenHasToolCallType class StopServerToolsWhenHasToolCall(BaseModel): r"""Stop after a tool with this name has been called.""" tool_name: str type: StopServerToolsWhenHasToolCallType