We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98eec5b commit 8015d97Copy full SHA for 8015d97
src/agent/runner.py
@@ -186,7 +186,7 @@ async def _run_agent_loop(
186
async def _process_event(self, event: Any) -> list[OutboundFrame]:
187
"""Process an ADK event and convert to OutboundFrame(s) if applicable."""
188
189
- frames = []
+ frames: list[OutboundFrame] = []
190
if event.interrupted:
191
frames.append(
192
OutboundFrame(
@@ -226,7 +226,7 @@ async def _process_event(self, event: Any) -> list[OutboundFrame]:
226
227
async def _process_content(self, content: types.Content) -> list[OutboundFrame]:
228
"""Process Content from an event, extracting audio/text."""
229
230
if not content.parts:
231
return frames
232
0 commit comments