mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
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:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
0c735989c1
commit
0f116c9792
@@ -0,0 +1,30 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from .webfetchservertoolconfig import (
|
||||
WebFetchServerToolConfig,
|
||||
WebFetchServerToolConfigTypedDict,
|
||||
)
|
||||
from openrouter.types import BaseModel
|
||||
from typing import Literal, Optional
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
WebFetchServerToolType = Literal["openrouter:web_fetch",]
|
||||
|
||||
|
||||
class WebFetchServerToolTypedDict(TypedDict):
|
||||
r"""OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)"""
|
||||
|
||||
type: WebFetchServerToolType
|
||||
parameters: NotRequired[WebFetchServerToolConfigTypedDict]
|
||||
r"""Configuration for the openrouter:web_fetch server tool"""
|
||||
|
||||
|
||||
class WebFetchServerTool(BaseModel):
|
||||
r"""OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)"""
|
||||
|
||||
type: WebFetchServerToolType
|
||||
|
||||
parameters: Optional[WebFetchServerToolConfig] = None
|
||||
r"""Configuration for the openrouter:web_fetch server tool"""
|
||||
Reference in New Issue
Block a user