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
@@ -1,6 +1,14 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from .outputadvisorservertoolitem import (
|
||||
OutputAdvisorServerToolItem,
|
||||
OutputAdvisorServerToolItemTypedDict,
|
||||
)
|
||||
from .outputapplypatchcallitem import (
|
||||
OutputApplyPatchCallItem,
|
||||
OutputApplyPatchCallItemTypedDict,
|
||||
)
|
||||
from .outputapplypatchservertoolitem import (
|
||||
OutputApplyPatchServerToolItem,
|
||||
OutputApplyPatchServerToolItemTypedDict,
|
||||
@@ -25,6 +33,10 @@ from .outputcomputercallitem import (
|
||||
OutputComputerCallItem,
|
||||
OutputComputerCallItemTypedDict,
|
||||
)
|
||||
from .outputcustomtoolcallitem import (
|
||||
OutputCustomToolCallItem,
|
||||
OutputCustomToolCallItemTypedDict,
|
||||
)
|
||||
from .outputdatetimeitem import OutputDatetimeItem, OutputDatetimeItemTypedDict
|
||||
from .outputfilesearchcallitem import (
|
||||
OutputFileSearchCallItem,
|
||||
@@ -38,6 +50,10 @@ from .outputfunctioncallitem import (
|
||||
OutputFunctionCallItem,
|
||||
OutputFunctionCallItemTypedDict,
|
||||
)
|
||||
from .outputfusionservertoolitem import (
|
||||
OutputFusionServerToolItem,
|
||||
OutputFusionServerToolItemTypedDict,
|
||||
)
|
||||
from .outputimagegenerationcallitem import (
|
||||
OutputImageGenerationCallItem,
|
||||
OutputImageGenerationCallItemTypedDict,
|
||||
@@ -56,6 +72,15 @@ from .outputmemoryservertoolitem import (
|
||||
)
|
||||
from .outputmessageitem import OutputMessageItem, OutputMessageItemTypedDict
|
||||
from .outputreasoningitem import OutputReasoningItem, OutputReasoningItemTypedDict
|
||||
from .outputsearchmodelsservertoolitem import (
|
||||
OutputSearchModelsServerToolItem,
|
||||
OutputSearchModelsServerToolItemTypedDict,
|
||||
)
|
||||
from .outputshellcallitem import OutputShellCallItem, OutputShellCallItemTypedDict
|
||||
from .outputshellcalloutputitem import (
|
||||
OutputShellCallOutputItem,
|
||||
OutputShellCallOutputItemTypedDict,
|
||||
)
|
||||
from .outputtexteditorservertoolitem import (
|
||||
OutputTextEditorServerToolItem,
|
||||
OutputTextEditorServerToolItemTypedDict,
|
||||
@@ -85,27 +110,34 @@ from typing_extensions import Annotated, TypeAliasType
|
||||
OutputItemsTypedDict = TypeAliasType(
|
||||
"OutputItemsTypedDict",
|
||||
Union[
|
||||
OutputWebSearchServerToolItemTypedDict,
|
||||
OutputToolSearchServerToolItemTypedDict,
|
||||
OutputWebSearchServerToolItemTypedDict,
|
||||
OutputFileSearchServerToolItemTypedDict,
|
||||
OutputWebSearchCallItemTypedDict,
|
||||
OutputFileSearchCallItemTypedDict,
|
||||
OutputImageGenerationCallItemTypedDict,
|
||||
OutputTextEditorServerToolItemTypedDict,
|
||||
OutputApplyPatchServerToolItemTypedDict,
|
||||
OutputTextEditorServerToolItemTypedDict,
|
||||
OutputSearchModelsServerToolItemTypedDict,
|
||||
OutputDatetimeItemTypedDict,
|
||||
OutputApplyPatchCallItemTypedDict,
|
||||
OutputMcpServerToolItemTypedDict,
|
||||
OutputShellCallItemTypedDict,
|
||||
OutputBrowserUseServerToolItemTypedDict,
|
||||
OutputComputerCallItemTypedDict,
|
||||
OutputCodeInterpreterCallItemTypedDict,
|
||||
OutputCustomToolCallItemTypedDict,
|
||||
OutputMemoryServerToolItemTypedDict,
|
||||
OutputMessageItemTypedDict,
|
||||
OutputShellCallOutputItemTypedDict,
|
||||
OutputBashServerToolItemTypedDict,
|
||||
OutputFunctionCallItemTypedDict,
|
||||
OutputImageGenerationServerToolItemTypedDict,
|
||||
OutputMessageItemTypedDict,
|
||||
OutputComputerCallItemTypedDict,
|
||||
OutputWebFetchServerToolItemTypedDict,
|
||||
OutputMemoryServerToolItemTypedDict,
|
||||
OutputCodeInterpreterCallItemTypedDict,
|
||||
OutputBashServerToolItemTypedDict,
|
||||
OutputCodeInterpreterServerToolItemTypedDict,
|
||||
OutputReasoningItemTypedDict,
|
||||
OutputFusionServerToolItemTypedDict,
|
||||
OutputAdvisorServerToolItemTypedDict,
|
||||
],
|
||||
)
|
||||
r"""An output item from the response"""
|
||||
@@ -113,12 +145,15 @@ r"""An output item from the response"""
|
||||
|
||||
OutputItems = Annotated[
|
||||
Union[
|
||||
Annotated[OutputApplyPatchCallItem, Tag("apply_patch_call")],
|
||||
Annotated[OutputCodeInterpreterCallItem, Tag("code_interpreter_call")],
|
||||
Annotated[OutputComputerCallItem, Tag("computer_call")],
|
||||
Annotated[OutputCustomToolCallItem, Tag("custom_tool_call")],
|
||||
Annotated[OutputFileSearchCallItem, Tag("file_search_call")],
|
||||
Annotated[OutputFunctionCallItem, Tag("function_call")],
|
||||
Annotated[OutputImageGenerationCallItem, Tag("image_generation_call")],
|
||||
Annotated[OutputMessageItem, Tag("message")],
|
||||
Annotated[OutputAdvisorServerToolItem, Tag("openrouter:advisor")],
|
||||
Annotated[OutputApplyPatchServerToolItem, Tag("openrouter:apply_patch")],
|
||||
Annotated[OutputBashServerToolItem, Tag("openrouter:bash")],
|
||||
Annotated[OutputBrowserUseServerToolItem, Tag("openrouter:browser_use")],
|
||||
@@ -126,7 +161,12 @@ OutputItems = Annotated[
|
||||
OutputCodeInterpreterServerToolItem, Tag("openrouter:code_interpreter")
|
||||
],
|
||||
Annotated[OutputDatetimeItem, Tag("openrouter:datetime")],
|
||||
Annotated[
|
||||
OutputSearchModelsServerToolItem,
|
||||
Tag("openrouter:experimental__search_models"),
|
||||
],
|
||||
Annotated[OutputFileSearchServerToolItem, Tag("openrouter:file_search")],
|
||||
Annotated[OutputFusionServerToolItem, Tag("openrouter:fusion")],
|
||||
Annotated[
|
||||
OutputImageGenerationServerToolItem, Tag("openrouter:image_generation")
|
||||
],
|
||||
@@ -137,6 +177,8 @@ OutputItems = Annotated[
|
||||
Annotated[OutputWebFetchServerToolItem, Tag("openrouter:web_fetch")],
|
||||
Annotated[OutputWebSearchServerToolItem, Tag("openrouter:web_search")],
|
||||
Annotated[OutputReasoningItem, Tag("reasoning")],
|
||||
Annotated[OutputShellCallItem, Tag("shell_call")],
|
||||
Annotated[OutputShellCallOutputItem, Tag("shell_call_output")],
|
||||
Annotated[OutputWebSearchCallItem, Tag("web_search_call")],
|
||||
],
|
||||
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
||||
|
||||
Reference in New Issue
Block a user