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

Method _run_async_impl

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

Source from the content-addressed store, hash-verified

102 self.parent_agent = parent_agent
103
104 async def _run_async_impl(
105 self, invocation_context: InvocationContext
106 ) -> AsyncGenerator[Event, None]:
107 yield Event(
108 invocation_id=invocation_context.invocation_id,
109 author=self.name,
110 content=types.Content(
111 role="model", parts=[types.Part(text="Test LLM response")]
112 ),
113 )
114
115
116class MockAgentWithMetadata(BaseAgent):

Callers

nothing calls this directly

Calls 1

EventClass · 0.90

Tested by

no test coverage detected