(
self, invocation_context: InvocationContext
)
| 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 | |
| 90 | class MockLlmAgent(LlmAgent): |