We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eb1467 commit 067528dCopy full SHA for 067528d
src/yandex_cloud_ml_sdk/_tools/tool.py
@@ -51,7 +51,7 @@ def _from_upper_proto(cls, proto: ProtoToolTypeT, sdk: SDKType) -> BaseTool:
51
raise NotImplementedError('tools other then search_index and function are not supported in this SDK version')
52
53
54
-ProtoFunctionTool = Union[ProtoCompletionsFunctionTool | ProtoAssistantsFunctionTool]
+ProtoFunctionTool = Union[ProtoCompletionsFunctionTool, ProtoAssistantsFunctionTool]
55
56
57
@dataclass(frozen=True)
0 commit comments