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>
28 lines
951 B
Python
28 lines
951 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .bashservertoolconfig import BashServerToolConfig, BashServerToolConfigTypedDict
|
|
from openrouter.types import BaseModel
|
|
from typing import Literal, Optional
|
|
from typing_extensions import NotRequired, TypedDict
|
|
|
|
|
|
BashServerToolType = Literal["openrouter:bash",]
|
|
|
|
|
|
class BashServerToolTypedDict(TypedDict):
|
|
r"""OpenRouter built-in server tool: runs shell commands server-side in a sandboxed container"""
|
|
|
|
type: BashServerToolType
|
|
parameters: NotRequired[BashServerToolConfigTypedDict]
|
|
r"""Configuration for the openrouter:bash server tool"""
|
|
|
|
|
|
class BashServerTool(BaseModel):
|
|
r"""OpenRouter built-in server tool: runs shell commands server-side in a sandboxed container"""
|
|
|
|
type: BashServerToolType
|
|
|
|
parameters: Optional[BashServerToolConfig] = None
|
|
r"""Configuration for the openrouter:bash server tool"""
|