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

Method _run_live_impl

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

Source from the content-addressed store, hash-verified

76 super().__init__(name=name, sub_agents=[])
77
78 async def _run_live_impl(
79 self, invocation_context: InvocationContext
80 ) -> AsyncGenerator[Event, None]:
81 yield Event(
82 invocation_id=invocation_context.invocation_id,
83 author=self.name,
84 content=types.Content(
85 role="model", parts=[types.Part(text="live hello")]
86 ),
87 )
88
89
90class MockLlmAgent(LlmAgent):

Callers

nothing calls this directly

Calls 1

EventClass · 0.90

Tested by

no test coverage detected