mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
34 lines
697 B
Python
34 lines
697 B
Python
"""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
|
|
|
|
|
|
McpApprovalRequestItemType = Literal["mcp_approval_request",]
|
|
|
|
|
|
class McpApprovalRequestItemTypedDict(TypedDict):
|
|
r"""Request for approval to execute an MCP tool"""
|
|
|
|
arguments: str
|
|
id: str
|
|
name: str
|
|
server_label: str
|
|
type: McpApprovalRequestItemType
|
|
|
|
|
|
class McpApprovalRequestItem(BaseModel):
|
|
r"""Request for approval to execute an MCP tool"""
|
|
|
|
arguments: str
|
|
|
|
id: str
|
|
|
|
name: str
|
|
|
|
server_label: str
|
|
|
|
type: McpApprovalRequestItemType
|