File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 14
14
15
15
16
16
from ..auth .auth_tool import AuthToolArguments
17
+ from .agent_tool import AgentTool
17
18
from .apihub_tool .apihub_toolset import APIHubToolset
18
19
from .base_tool import BaseTool
19
20
from .example_tool import ExampleTool
31
32
from .vertex_ai_search_tool import VertexAiSearchTool
32
33
33
34
__all__ = [
35
+ 'AgentTool' ,
34
36
'APIHubToolset' ,
35
37
'AuthToolArguments' ,
36
38
'BaseTool' ,
Original file line number Diff line number Diff line change 23
23
24
24
from . import _automatic_function_calling_util
25
25
from ..memory .in_memory_memory_service import InMemoryMemoryService
26
- from ..runners import Runner
27
- from ..sessions .in_memory_session_service import InMemorySessionService
28
26
from ._forwarding_artifact_service import ForwardingArtifactService
29
27
from .base_tool import BaseTool
30
28
from .tool_context import ToolContext
31
29
32
30
if TYPE_CHECKING :
33
31
from ..agents .base_agent import BaseAgent
34
- from ..agents .llm_agent import LlmAgent
35
32
36
33
37
34
class AgentTool (BaseTool ):
@@ -103,6 +100,8 @@ async def run_async(
103
100
tool_context : ToolContext ,
104
101
) -> Any :
105
102
from ..agents .llm_agent import LlmAgent
103
+ from ..runners import Runner
104
+ from ..sessions .in_memory_session_service import InMemorySessionService
106
105
107
106
if self .skip_summarization :
108
107
tool_context .actions .skip_summarization = True
You can’t perform that action at this time.
0 commit comments