mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .containerautoenvironment import (
|
|
ContainerAutoEnvironment,
|
|
ContainerAutoEnvironmentTypedDict,
|
|
)
|
|
from .containerreferenceenvironment import (
|
|
ContainerReferenceEnvironment,
|
|
ContainerReferenceEnvironmentTypedDict,
|
|
)
|
|
from openrouter.utils import get_discriminator
|
|
from pydantic import Discriminator, Tag
|
|
from typing import Union
|
|
from typing_extensions import Annotated, TypeAliasType
|
|
|
|
|
|
BashServerToolEnvironmentTypedDict = TypeAliasType(
|
|
"BashServerToolEnvironmentTypedDict",
|
|
Union[ContainerAutoEnvironmentTypedDict, ContainerReferenceEnvironmentTypedDict],
|
|
)
|
|
r"""Execution environment for the bash server tool."""
|
|
|
|
|
|
BashServerToolEnvironment = Annotated[
|
|
Union[
|
|
Annotated[ContainerAutoEnvironment, Tag("container_auto")],
|
|
Annotated[ContainerReferenceEnvironment, Tag("container_reference")],
|
|
],
|
|
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
|
]
|
|
r"""Execution environment for the bash server tool."""
|