(
self, invocation_context: InvocationContext
)
| 120 | super().__init__(name=name, sub_agents=[]) |
| 121 | |
| 122 | async def _run_async_impl( |
| 123 | self, invocation_context: InvocationContext |
| 124 | ) -> AsyncGenerator[Event, None]: |
| 125 | yield Event( |
| 126 | invocation_id=invocation_context.invocation_id, |
| 127 | author=self.name, |
| 128 | content=types.Content( |
| 129 | role="model", parts=[types.Part(text="Test response")] |
| 130 | ), |
| 131 | custom_metadata={"event_key": "event_value"}, |
| 132 | ) |
| 133 | |
| 134 | |
| 135 | class MockPlugin(BasePlugin): |