Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/google/adk-python
/ get_current_agent_name
Method
get_current_agent_name
tests/integration/utils/test_runner.py:94–97 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
92
return
cls(agent)
93
94
def
get_current_agent_name(self) -> str:
95
return
self.agent_client._find_agent_to_run(
96
self.get_current_session(), self.agent
97
).name
Callers
1
assert_current_agent_is
Function · 0.80
Calls
2
get_current_session
Method · 0.95
_find_agent_to_run
Method · 0.80
Tested by
no test coverage detected