chore: 🐝 Update SDK - Generate 0.9.2 (#205)

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-06-11 12:10:31 -04:00
committed by GitHub
co-authored by speakeasybot speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent 0c735989c1
commit 0f116c9792
392 changed files with 49644 additions and 2501 deletions
@@ -0,0 +1,53 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .stopservertoolswhenfinishreasonis import (
StopServerToolsWhenFinishReasonIs,
StopServerToolsWhenFinishReasonIsTypedDict,
)
from .stopservertoolswhenhastoolcall import (
StopServerToolsWhenHasToolCall,
StopServerToolsWhenHasToolCallTypedDict,
)
from .stopservertoolswhenmaxcost import (
StopServerToolsWhenMaxCost,
StopServerToolsWhenMaxCostTypedDict,
)
from .stopservertoolswhenmaxtokensused import (
StopServerToolsWhenMaxTokensUsed,
StopServerToolsWhenMaxTokensUsedTypedDict,
)
from .stopservertoolswhenstepcountis import (
StopServerToolsWhenStepCountIs,
StopServerToolsWhenStepCountIsTypedDict,
)
from openrouter.utils import get_discriminator
from pydantic import Discriminator, Tag
from typing import Union
from typing_extensions import Annotated, TypeAliasType
StopServerToolsWhenConditionTypedDict = TypeAliasType(
"StopServerToolsWhenConditionTypedDict",
Union[
StopServerToolsWhenStepCountIsTypedDict,
StopServerToolsWhenHasToolCallTypedDict,
StopServerToolsWhenMaxTokensUsedTypedDict,
StopServerToolsWhenMaxCostTypedDict,
StopServerToolsWhenFinishReasonIsTypedDict,
],
)
r"""A single condition that, when met, halts the server-tool agent loop."""
StopServerToolsWhenCondition = Annotated[
Union[
Annotated[StopServerToolsWhenFinishReasonIs, Tag("finish_reason_is")],
Annotated[StopServerToolsWhenHasToolCall, Tag("has_tool_call")],
Annotated[StopServerToolsWhenMaxCost, Tag("max_cost")],
Annotated[StopServerToolsWhenMaxTokensUsed, Tag("max_tokens_used")],
Annotated[StopServerToolsWhenStepCountIs, Tag("step_count_is")],
],
Discriminator(lambda m: get_discriminator(m, "type", "type")),
]
r"""A single condition that, when met, halts the server-tool agent loop."""