File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
pydantic_ai_slim/pydantic_ai Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 77from pydantic import GetCoreSchemaHandler , GetJsonSchemaHandler
88from pydantic .json_schema import JsonSchemaValue
99from pydantic_core import core_schema
10- from typing_extensions import TypeAliasType , TypeVar
10+ from typing_extensions import TypeAliasType , TypeVar , deprecated
1111
1212from . import _utils
1313from .messages import ToolCallPart
@@ -368,3 +368,8 @@ class DeferredToolRequests:
368368 """Tool calls that require external execution."""
369369 approvals : list [ToolCallPart ] = field (default_factory = list )
370370 """Tool calls that require human-in-the-loop approval."""
371+
372+
373+ @deprecated ('`DeferredToolCalls` is deprecated, use `DeferredToolRequests` instead' )
374+ class DeferredToolCalls (DeferredToolRequests ):
375+ pass
You can’t perform that action at this time.
0 commit comments