MCPcopy Index your code
hub / github.com/google/adk-python / _run_async_impl

Method _run_async_impl

tests/unittests/test_runners.py:60–69  ·  view source on GitHub ↗
(
      self, invocation_context: InvocationContext
  )

Source from the content-addressed store, hash-verified

58 self.parent_agent = parent_agent
59
60 async def _run_async_impl(
61 self, invocation_context: InvocationContext
62 ) -> AsyncGenerator[Event, None]:
63 yield Event(
64 invocation_id=invocation_context.invocation_id,
65 author=self.name,
66 content=types.Content(
67 role="model", parts=[types.Part(text="Test response")]
68 ),
69 )
70
71
72class MockLiveAgent(BaseAgent):

Callers

nothing calls this directly

Calls 1

EventClass · 0.90

Tested by

no test coverage detected