mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
Update agent_tool.py
This commit is contained in:
@@ -116,7 +116,7 @@ class AgentTool(BaseTool):
|
||||
artifact_service=ForwardingArtifactService(tool_context),
|
||||
session_service=InMemorySessionService(),
|
||||
memory_service=InMemoryMemoryService(),
|
||||
credential_service=tool_context.credential_service,
|
||||
credential_service=tool_context._invocation_context.credential_service,
|
||||
)
|
||||
session = await runner.session_service.create_session(
|
||||
app_name=self.agent.name,
|
||||
|
||||
Reference in New Issue
Block a user