mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.19 (#426)
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
83c16a17c6
commit
8d8b3557fd
@@ -3,10 +3,10 @@
|
||||
import importlib.metadata
|
||||
|
||||
__title__: str = "openrouter"
|
||||
__version__: str = "0.11.18"
|
||||
__version__: str = "0.11.19"
|
||||
__openapi_doc_version__: str = "1.0.0"
|
||||
__gen_version__: str = "2.914.0"
|
||||
__user_agent__: str = "speakeasy-sdk/python 0.11.18 2.914.0 1.0.0 openrouter"
|
||||
__user_agent__: str = "speakeasy-sdk/python 0.11.19 2.914.0 1.0.0 openrouter"
|
||||
|
||||
try:
|
||||
if __package__ is not None:
|
||||
|
||||
@@ -36,6 +36,22 @@ if TYPE_CHECKING:
|
||||
AdvisorServerToolConfig,
|
||||
AdvisorServerToolConfigTypedDict,
|
||||
)
|
||||
from .agentmessageitem import (
|
||||
Agent,
|
||||
AgentMessageItem,
|
||||
AgentMessageItemContentInputImage,
|
||||
AgentMessageItemContentInputImageTypedDict,
|
||||
AgentMessageItemContentUnion,
|
||||
AgentMessageItemContentUnionTypedDict,
|
||||
AgentMessageItemDetail,
|
||||
AgentMessageItemTypeInputImage,
|
||||
AgentMessageItemTypedDict,
|
||||
AgentTypedDict,
|
||||
ContentEncryptedContent,
|
||||
ContentEncryptedContentTypedDict,
|
||||
TypeAgentMessage,
|
||||
TypeEncryptedContent,
|
||||
)
|
||||
from .annotationaddedevent import (
|
||||
AnnotationAddedEvent,
|
||||
AnnotationAddedEventType,
|
||||
@@ -711,6 +727,11 @@ if TYPE_CHECKING:
|
||||
VideoURL,
|
||||
VideoURLTypedDict,
|
||||
)
|
||||
from .contextcompactionitem import (
|
||||
ContextCompactionItem,
|
||||
ContextCompactionItemType,
|
||||
ContextCompactionItemTypedDict,
|
||||
)
|
||||
from .contextcompressionengine import ContextCompressionEngine
|
||||
from .contextcompressionplugin import (
|
||||
ContextCompressionPlugin,
|
||||
@@ -2802,6 +2823,16 @@ __all__ = [
|
||||
"AdvisorServerToolOpenRouter",
|
||||
"AdvisorServerToolOpenRouterType",
|
||||
"AdvisorServerToolOpenRouterTypedDict",
|
||||
"Agent",
|
||||
"AgentMessageItem",
|
||||
"AgentMessageItemContentInputImage",
|
||||
"AgentMessageItemContentInputImageTypedDict",
|
||||
"AgentMessageItemContentUnion",
|
||||
"AgentMessageItemContentUnionTypedDict",
|
||||
"AgentMessageItemDetail",
|
||||
"AgentMessageItemTypeInputImage",
|
||||
"AgentMessageItemTypedDict",
|
||||
"AgentTypedDict",
|
||||
"AllowedTools",
|
||||
"AllowedToolsTypedDict",
|
||||
"AllowedToolsUnion",
|
||||
@@ -3221,6 +3252,8 @@ __all__ = [
|
||||
"ContainerTypedDict",
|
||||
"ContentCompaction",
|
||||
"ContentCompactionTypedDict",
|
||||
"ContentEncryptedContent",
|
||||
"ContentEncryptedContentTypedDict",
|
||||
"ContentFilterAction",
|
||||
"ContentFilterBuiltinAction",
|
||||
"ContentFilterBuiltinEntry",
|
||||
@@ -3276,6 +3309,9 @@ __all__ = [
|
||||
"ContentWebSearchToolResultError",
|
||||
"ContentWebSearchToolResultErrorTypedDict",
|
||||
"ContentWebSearchToolResultTypedDict",
|
||||
"ContextCompactionItem",
|
||||
"ContextCompactionItemType",
|
||||
"ContextCompactionItemTypedDict",
|
||||
"ContextCompressionEngine",
|
||||
"ContextCompressionPlugin",
|
||||
"ContextCompressionPluginID",
|
||||
@@ -4611,6 +4647,7 @@ __all__ = [
|
||||
"TypeAdaptive",
|
||||
"TypeAdditionalTools",
|
||||
"TypeAdvisor20260301",
|
||||
"TypeAgentMessage",
|
||||
"TypeAny",
|
||||
"TypeBash20250124",
|
||||
"TypeClearThinking20251015",
|
||||
@@ -4621,6 +4658,7 @@ __all__ = [
|
||||
"TypeDisabled",
|
||||
"TypeDocument",
|
||||
"TypeEnabled",
|
||||
"TypeEncryptedContent",
|
||||
"TypeExec",
|
||||
"TypeExit",
|
||||
"TypeFileSearch",
|
||||
@@ -4827,6 +4865,20 @@ _dynamic_imports: dict[str, str] = {
|
||||
"AdvisorServerToolOpenRouterTypedDict": ".advisorservertool_openrouter",
|
||||
"AdvisorServerToolConfig": ".advisorservertoolconfig",
|
||||
"AdvisorServerToolConfigTypedDict": ".advisorservertoolconfig",
|
||||
"Agent": ".agentmessageitem",
|
||||
"AgentMessageItem": ".agentmessageitem",
|
||||
"AgentMessageItemContentInputImage": ".agentmessageitem",
|
||||
"AgentMessageItemContentInputImageTypedDict": ".agentmessageitem",
|
||||
"AgentMessageItemContentUnion": ".agentmessageitem",
|
||||
"AgentMessageItemContentUnionTypedDict": ".agentmessageitem",
|
||||
"AgentMessageItemDetail": ".agentmessageitem",
|
||||
"AgentMessageItemTypeInputImage": ".agentmessageitem",
|
||||
"AgentMessageItemTypedDict": ".agentmessageitem",
|
||||
"AgentTypedDict": ".agentmessageitem",
|
||||
"ContentEncryptedContent": ".agentmessageitem",
|
||||
"ContentEncryptedContentTypedDict": ".agentmessageitem",
|
||||
"TypeAgentMessage": ".agentmessageitem",
|
||||
"TypeEncryptedContent": ".agentmessageitem",
|
||||
"AnnotationAddedEvent": ".annotationaddedevent",
|
||||
"AnnotationAddedEventType": ".annotationaddedevent",
|
||||
"AnnotationAddedEventTypedDict": ".annotationaddedevent",
|
||||
@@ -5290,6 +5342,9 @@ _dynamic_imports: dict[str, str] = {
|
||||
"ContentPartVideoTypedDict": ".contentpartvideo",
|
||||
"VideoURL": ".contentpartvideo",
|
||||
"VideoURLTypedDict": ".contentpartvideo",
|
||||
"ContextCompactionItem": ".contextcompactionitem",
|
||||
"ContextCompactionItemType": ".contextcompactionitem",
|
||||
"ContextCompactionItemTypedDict": ".contextcompactionitem",
|
||||
"ContextCompressionEngine": ".contextcompressionengine",
|
||||
"ContextCompressionPlugin": ".contextcompressionplugin",
|
||||
"ContextCompressionPluginID": ".contextcompressionplugin",
|
||||
|
||||
@@ -0,0 +1,213 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from .inputtext import InputText, InputTextTypedDict
|
||||
from openrouter.types import (
|
||||
BaseModel,
|
||||
Nullable,
|
||||
OptionalNullable,
|
||||
UNSET,
|
||||
UNSET_SENTINEL,
|
||||
UnrecognizedStr,
|
||||
)
|
||||
from openrouter.utils import get_discriminator
|
||||
import pydantic
|
||||
from pydantic import ConfigDict, Discriminator, Tag, model_serializer
|
||||
from typing import Any, Dict, List, Literal, Union
|
||||
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
||||
|
||||
|
||||
class AgentTypedDict(TypedDict):
|
||||
agent_name: str
|
||||
|
||||
|
||||
class Agent(BaseModel):
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
||||
)
|
||||
__pydantic_extra__: Dict[str, Nullable[Any]] = pydantic.Field(init=False)
|
||||
|
||||
agent_name: str
|
||||
|
||||
@property
|
||||
def additional_properties(self):
|
||||
return self.__pydantic_extra__
|
||||
|
||||
@additional_properties.setter
|
||||
def additional_properties(self, value):
|
||||
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
||||
|
||||
|
||||
TypeEncryptedContent = Literal["encrypted_content",]
|
||||
|
||||
|
||||
class ContentEncryptedContentTypedDict(TypedDict):
|
||||
encrypted_content: str
|
||||
type: TypeEncryptedContent
|
||||
|
||||
|
||||
class ContentEncryptedContent(BaseModel):
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
||||
)
|
||||
__pydantic_extra__: Dict[str, Nullable[Any]] = pydantic.Field(init=False)
|
||||
|
||||
encrypted_content: str
|
||||
|
||||
type: TypeEncryptedContent
|
||||
|
||||
@property
|
||||
def additional_properties(self):
|
||||
return self.__pydantic_extra__
|
||||
|
||||
@additional_properties.setter
|
||||
def additional_properties(self, value):
|
||||
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
||||
|
||||
|
||||
AgentMessageItemDetail = Union[
|
||||
Literal[
|
||||
"auto",
|
||||
"high",
|
||||
"low",
|
||||
"original",
|
||||
],
|
||||
UnrecognizedStr,
|
||||
]
|
||||
|
||||
|
||||
AgentMessageItemTypeInputImage = Literal["input_image",]
|
||||
|
||||
|
||||
class AgentMessageItemContentInputImageTypedDict(TypedDict):
|
||||
r"""Image input content item"""
|
||||
|
||||
detail: AgentMessageItemDetail
|
||||
type: AgentMessageItemTypeInputImage
|
||||
image_url: NotRequired[Nullable[str]]
|
||||
|
||||
|
||||
class AgentMessageItemContentInputImage(BaseModel):
|
||||
r"""Image input content item"""
|
||||
|
||||
detail: AgentMessageItemDetail
|
||||
|
||||
type: AgentMessageItemTypeInputImage
|
||||
|
||||
image_url: OptionalNullable[str] = UNSET
|
||||
|
||||
@model_serializer(mode="wrap")
|
||||
def serialize_model(self, handler):
|
||||
optional_fields = set(["image_url"])
|
||||
nullable_fields = set(["image_url"])
|
||||
serialized = handler(self)
|
||||
m = {}
|
||||
|
||||
for n, f in type(self).model_fields.items():
|
||||
k = f.alias or n
|
||||
val = serialized.get(k, serialized.get(n))
|
||||
is_nullable_and_explicitly_set = (
|
||||
k in nullable_fields
|
||||
and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member
|
||||
)
|
||||
|
||||
if val != UNSET_SENTINEL:
|
||||
if (
|
||||
val is not None
|
||||
or k not in optional_fields
|
||||
or is_nullable_and_explicitly_set
|
||||
):
|
||||
m[k] = val
|
||||
|
||||
return m
|
||||
|
||||
|
||||
AgentMessageItemContentUnionTypedDict = TypeAliasType(
|
||||
"AgentMessageItemContentUnionTypedDict",
|
||||
Union[
|
||||
InputTextTypedDict,
|
||||
AgentMessageItemContentInputImageTypedDict,
|
||||
ContentEncryptedContentTypedDict,
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
AgentMessageItemContentUnion = Annotated[
|
||||
Union[
|
||||
Annotated[InputText, Tag("input_text")],
|
||||
Annotated[AgentMessageItemContentInputImage, Tag("input_image")],
|
||||
Annotated[ContentEncryptedContent, Tag("encrypted_content")],
|
||||
],
|
||||
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
||||
]
|
||||
|
||||
|
||||
TypeAgentMessage = Literal["agent_message",]
|
||||
|
||||
|
||||
class AgentMessageItemTypedDict(TypedDict):
|
||||
r"""A message routed between agents in a multi-agent session"""
|
||||
|
||||
author: str
|
||||
content: List[AgentMessageItemContentUnionTypedDict]
|
||||
recipient: str
|
||||
type: TypeAgentMessage
|
||||
agent: NotRequired[Nullable[AgentTypedDict]]
|
||||
id: NotRequired[Nullable[str]]
|
||||
|
||||
|
||||
class AgentMessageItem(BaseModel):
|
||||
r"""A message routed between agents in a multi-agent session"""
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
||||
)
|
||||
__pydantic_extra__: Dict[str, Nullable[Any]] = pydantic.Field(init=False)
|
||||
|
||||
author: str
|
||||
|
||||
content: List[AgentMessageItemContentUnion]
|
||||
|
||||
recipient: str
|
||||
|
||||
type: TypeAgentMessage
|
||||
|
||||
agent: OptionalNullable[Agent] = UNSET
|
||||
|
||||
id: OptionalNullable[str] = UNSET
|
||||
|
||||
@property
|
||||
def additional_properties(self):
|
||||
return self.__pydantic_extra__
|
||||
|
||||
@additional_properties.setter
|
||||
def additional_properties(self, value):
|
||||
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
||||
|
||||
@model_serializer(mode="wrap")
|
||||
def serialize_model(self, handler):
|
||||
optional_fields = set(["agent", "id"])
|
||||
nullable_fields = set(["agent", "id"])
|
||||
serialized = handler(self)
|
||||
m = {}
|
||||
|
||||
for n, f in type(self).model_fields.items():
|
||||
k = f.alias or n
|
||||
val = serialized.get(k, serialized.get(n))
|
||||
serialized.pop(k, serialized.pop(n, None))
|
||||
is_nullable_and_explicitly_set = (
|
||||
k in nullable_fields
|
||||
and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member
|
||||
)
|
||||
|
||||
if val != UNSET_SENTINEL:
|
||||
if (
|
||||
val is not None
|
||||
or k not in optional_fields
|
||||
or is_nullable_and_explicitly_set
|
||||
):
|
||||
m[k] = val
|
||||
for k, v in serialized.items():
|
||||
m[k] = v
|
||||
|
||||
return m
|
||||
@@ -8,8 +8,9 @@ from openrouter.types import (
|
||||
UNSET,
|
||||
UNSET_SENTINEL,
|
||||
)
|
||||
from pydantic import model_serializer
|
||||
from typing import Literal
|
||||
import pydantic
|
||||
from pydantic import ConfigDict, model_serializer
|
||||
from typing import Any, Dict, Literal
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
@@ -27,12 +28,25 @@ class CompactionItemTypedDict(TypedDict):
|
||||
class CompactionItem(BaseModel):
|
||||
r"""A context compaction marker with encrypted summary"""
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
||||
)
|
||||
__pydantic_extra__: Dict[str, Nullable[Any]] = pydantic.Field(init=False)
|
||||
|
||||
encrypted_content: str
|
||||
|
||||
type: CompactionItemType
|
||||
|
||||
id: OptionalNullable[str] = UNSET
|
||||
|
||||
@property
|
||||
def additional_properties(self):
|
||||
return self.__pydantic_extra__
|
||||
|
||||
@additional_properties.setter
|
||||
def additional_properties(self, value):
|
||||
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
||||
|
||||
@model_serializer(mode="wrap")
|
||||
def serialize_model(self, handler):
|
||||
optional_fields = set(["id"])
|
||||
@@ -43,6 +57,7 @@ class CompactionItem(BaseModel):
|
||||
for n, f in type(self).model_fields.items():
|
||||
k = f.alias or n
|
||||
val = serialized.get(k, serialized.get(n))
|
||||
serialized.pop(k, serialized.pop(n, None))
|
||||
is_nullable_and_explicitly_set = (
|
||||
k in nullable_fields
|
||||
and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member
|
||||
@@ -55,5 +70,7 @@ class CompactionItem(BaseModel):
|
||||
or is_nullable_and_explicitly_set
|
||||
):
|
||||
m[k] = val
|
||||
for k, v in serialized.items():
|
||||
m[k] = v
|
||||
|
||||
return m
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
||||
|
||||
from __future__ import annotations
|
||||
from openrouter.types import (
|
||||
BaseModel,
|
||||
Nullable,
|
||||
OptionalNullable,
|
||||
UNSET,
|
||||
UNSET_SENTINEL,
|
||||
)
|
||||
import pydantic
|
||||
from pydantic import ConfigDict, model_serializer
|
||||
from typing import Any, Dict, Literal
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
ContextCompactionItemType = Literal["context_compaction",]
|
||||
|
||||
|
||||
class ContextCompactionItemTypedDict(TypedDict):
|
||||
r"""A context compaction marker with an optional encrypted summary"""
|
||||
|
||||
type: ContextCompactionItemType
|
||||
encrypted_content: NotRequired[Nullable[str]]
|
||||
id: NotRequired[Nullable[str]]
|
||||
|
||||
|
||||
class ContextCompactionItem(BaseModel):
|
||||
r"""A context compaction marker with an optional encrypted summary"""
|
||||
|
||||
model_config = ConfigDict(
|
||||
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
||||
)
|
||||
__pydantic_extra__: Dict[str, Nullable[Any]] = pydantic.Field(init=False)
|
||||
|
||||
type: ContextCompactionItemType
|
||||
|
||||
encrypted_content: OptionalNullable[str] = UNSET
|
||||
|
||||
id: OptionalNullable[str] = UNSET
|
||||
|
||||
@property
|
||||
def additional_properties(self):
|
||||
return self.__pydantic_extra__
|
||||
|
||||
@additional_properties.setter
|
||||
def additional_properties(self, value):
|
||||
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
||||
|
||||
@model_serializer(mode="wrap")
|
||||
def serialize_model(self, handler):
|
||||
optional_fields = set(["encrypted_content", "id"])
|
||||
nullable_fields = set(["encrypted_content", "id"])
|
||||
serialized = handler(self)
|
||||
m = {}
|
||||
|
||||
for n, f in type(self).model_fields.items():
|
||||
k = f.alias or n
|
||||
val = serialized.get(k, serialized.get(n))
|
||||
serialized.pop(k, serialized.pop(n, None))
|
||||
is_nullable_and_explicitly_set = (
|
||||
k in nullable_fields
|
||||
and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member
|
||||
)
|
||||
|
||||
if val != UNSET_SENTINEL:
|
||||
if (
|
||||
val is not None
|
||||
or k not in optional_fields
|
||||
or is_nullable_and_explicitly_set
|
||||
):
|
||||
m[k] = val
|
||||
for k, v in serialized.items():
|
||||
m[k] = v
|
||||
|
||||
return m
|
||||
@@ -2,12 +2,14 @@
|
||||
|
||||
from __future__ import annotations
|
||||
from .additionaltoolsitem import AdditionalToolsItem, AdditionalToolsItemTypedDict
|
||||
from .agentmessageitem import AgentMessageItem, AgentMessageItemTypedDict
|
||||
from .applypatchcallitem import ApplyPatchCallItem, ApplyPatchCallItemTypedDict
|
||||
from .applypatchcalloutputitem import (
|
||||
ApplyPatchCallOutputItem,
|
||||
ApplyPatchCallOutputItemTypedDict,
|
||||
)
|
||||
from .compactionitem import CompactionItem, CompactionItemTypedDict
|
||||
from .contextcompactionitem import ContextCompactionItem, ContextCompactionItemTypedDict
|
||||
from .customtoolcallitem import CustomToolCallItem, CustomToolCallItemTypedDict
|
||||
from .customtoolcalloutputitem import (
|
||||
CustomToolCallOutputItem,
|
||||
@@ -376,50 +378,52 @@ InputsUnion1TypedDict = TypeAliasType(
|
||||
Union[
|
||||
ItemReferenceItemTypedDict,
|
||||
CompactionItemTypedDict,
|
||||
InputMessageItemTypedDict,
|
||||
AdditionalToolsItemTypedDict,
|
||||
OutputImageGenerationCallItemTypedDict,
|
||||
EasyInputMessageTypedDict,
|
||||
ContextCompactionItemTypedDict,
|
||||
OutputWebSearchServerToolItemTypedDict,
|
||||
CustomToolCallOutputItemTypedDict,
|
||||
LocalShellCallOutputItemTypedDict,
|
||||
OutputToolSearchServerToolItemTypedDict,
|
||||
OutputFileSearchServerToolItemTypedDict,
|
||||
CustomToolCallOutputItemTypedDict,
|
||||
InputMessageItemTypedDict,
|
||||
EasyInputMessageTypedDict,
|
||||
OutputWebSearchServerToolItemTypedDict,
|
||||
OutputWebSearchCallItemTypedDict,
|
||||
OutputFileSearchCallItemTypedDict,
|
||||
OutputDatetimeItemTypedDict,
|
||||
OutputImageGenerationCallItemTypedDict,
|
||||
OutputApplyPatchServerToolItemTypedDict,
|
||||
FunctionCallOutputItemTypedDict,
|
||||
LocalShellCallItemTypedDict,
|
||||
McpListToolsItemTypedDict,
|
||||
OutputSearchModelsServerToolItemTypedDict,
|
||||
ApplyPatchCallOutputItemTypedDict,
|
||||
OutputMcpServerToolItemTypedDict,
|
||||
OutputBrowserUseServerToolItemTypedDict,
|
||||
McpApprovalResponseItemTypedDict,
|
||||
OutputTextEditorServerToolItemTypedDict,
|
||||
ApplyPatchCallItemTypedDict,
|
||||
McpApprovalRequestItemTypedDict,
|
||||
OutputCodeInterpreterCallItemTypedDict,
|
||||
OutputMemoryServerToolItemTypedDict,
|
||||
OutputDatetimeItemTypedDict,
|
||||
FunctionCallOutputItemTypedDict,
|
||||
ApplyPatchCallItemTypedDict,
|
||||
ApplyPatchCallOutputItemTypedDict,
|
||||
McpApprovalResponseItemTypedDict,
|
||||
OutputBrowserUseServerToolItemTypedDict,
|
||||
McpListToolsItemTypedDict,
|
||||
OutputTextEditorServerToolItemTypedDict,
|
||||
LocalShellCallItemTypedDict,
|
||||
OutputSearchModelsServerToolItemTypedDict,
|
||||
OutputMcpServerToolItemTypedDict,
|
||||
CustomToolCallItemTypedDict,
|
||||
InputsMessageTypedDict,
|
||||
OutputCustomToolCallItemTypedDict,
|
||||
ShellCallOutputItemTypedDict,
|
||||
ShellCallItemTypedDict,
|
||||
OutputComputerCallItemTypedDict,
|
||||
OutputCodeInterpreterCallItemTypedDict,
|
||||
OutputCustomToolCallItemTypedDict,
|
||||
InputsMessageTypedDict,
|
||||
OutputMemoryServerToolItemTypedDict,
|
||||
ShellCallItemTypedDict,
|
||||
ShellCallOutputItemTypedDict,
|
||||
OutputBashServerToolItemTypedDict,
|
||||
McpCallItemTypedDict,
|
||||
OutputImageGenerationServerToolItemTypedDict,
|
||||
OutputFunctionCallItemTypedDict,
|
||||
AgentMessageItemTypedDict,
|
||||
FunctionCallItemTypedDict,
|
||||
OutputFilesServerToolItemTypedDict,
|
||||
OutputImageGenerationServerToolItemTypedDict,
|
||||
OutputSubagentServerToolItemTypedDict,
|
||||
OutputAdvisorServerToolItemTypedDict,
|
||||
OutputWebFetchServerToolItemTypedDict,
|
||||
ReasoningItemTypedDict,
|
||||
OutputCodeInterpreterServerToolItemTypedDict,
|
||||
InputsReasoningTypedDict,
|
||||
OutputAdvisorServerToolItemTypedDict,
|
||||
OutputCodeInterpreterServerToolItemTypedDict,
|
||||
OutputWebFetchServerToolItemTypedDict,
|
||||
OutputFilesServerToolItemTypedDict,
|
||||
ReasoningItemTypedDict,
|
||||
OutputFusionServerToolItemTypedDict,
|
||||
],
|
||||
)
|
||||
@@ -430,50 +434,52 @@ InputsUnion1 = TypeAliasType(
|
||||
Union[
|
||||
ItemReferenceItem,
|
||||
CompactionItem,
|
||||
InputMessageItem,
|
||||
AdditionalToolsItem,
|
||||
OutputImageGenerationCallItem,
|
||||
EasyInputMessage,
|
||||
ContextCompactionItem,
|
||||
OutputWebSearchServerToolItem,
|
||||
CustomToolCallOutputItem,
|
||||
LocalShellCallOutputItem,
|
||||
OutputToolSearchServerToolItem,
|
||||
OutputFileSearchServerToolItem,
|
||||
CustomToolCallOutputItem,
|
||||
InputMessageItem,
|
||||
EasyInputMessage,
|
||||
OutputWebSearchServerToolItem,
|
||||
OutputWebSearchCallItem,
|
||||
OutputFileSearchCallItem,
|
||||
OutputDatetimeItem,
|
||||
OutputImageGenerationCallItem,
|
||||
OutputApplyPatchServerToolItem,
|
||||
FunctionCallOutputItem,
|
||||
LocalShellCallItem,
|
||||
McpListToolsItem,
|
||||
OutputSearchModelsServerToolItem,
|
||||
ApplyPatchCallOutputItem,
|
||||
OutputMcpServerToolItem,
|
||||
OutputBrowserUseServerToolItem,
|
||||
McpApprovalResponseItem,
|
||||
OutputTextEditorServerToolItem,
|
||||
ApplyPatchCallItem,
|
||||
McpApprovalRequestItem,
|
||||
OutputCodeInterpreterCallItem,
|
||||
OutputMemoryServerToolItem,
|
||||
OutputDatetimeItem,
|
||||
FunctionCallOutputItem,
|
||||
ApplyPatchCallItem,
|
||||
ApplyPatchCallOutputItem,
|
||||
McpApprovalResponseItem,
|
||||
OutputBrowserUseServerToolItem,
|
||||
McpListToolsItem,
|
||||
OutputTextEditorServerToolItem,
|
||||
LocalShellCallItem,
|
||||
OutputSearchModelsServerToolItem,
|
||||
OutputMcpServerToolItem,
|
||||
CustomToolCallItem,
|
||||
InputsMessage,
|
||||
OutputCustomToolCallItem,
|
||||
ShellCallOutputItem,
|
||||
ShellCallItem,
|
||||
OutputComputerCallItem,
|
||||
OutputCodeInterpreterCallItem,
|
||||
OutputCustomToolCallItem,
|
||||
InputsMessage,
|
||||
OutputMemoryServerToolItem,
|
||||
ShellCallItem,
|
||||
ShellCallOutputItem,
|
||||
OutputBashServerToolItem,
|
||||
McpCallItem,
|
||||
OutputImageGenerationServerToolItem,
|
||||
OutputFunctionCallItem,
|
||||
AgentMessageItem,
|
||||
FunctionCallItem,
|
||||
OutputFilesServerToolItem,
|
||||
OutputImageGenerationServerToolItem,
|
||||
OutputSubagentServerToolItem,
|
||||
OutputAdvisorServerToolItem,
|
||||
OutputWebFetchServerToolItem,
|
||||
ReasoningItem,
|
||||
OutputCodeInterpreterServerToolItem,
|
||||
InputsReasoning,
|
||||
OutputAdvisorServerToolItem,
|
||||
OutputCodeInterpreterServerToolItem,
|
||||
OutputWebFetchServerToolItem,
|
||||
OutputFilesServerToolItem,
|
||||
ReasoningItem,
|
||||
OutputFusionServerToolItem,
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user