Skip to content

Commit

Permalink
Format with ruff.
Browse files Browse the repository at this point in the history
  • Loading branch information
SiyuanQi committed Feb 28, 2025
1 parent 7dfa5d1 commit 7765d1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion livekit-agents/livekit/agents/pipeline/pipeline_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,8 @@ def _synthesize_agent_reply(self):
self._synthesize_answer_task(self._agent_reply_task, new_handle)
)
self._agent_reply_task.add_done_callback(
lambda t: new_handle.cancel() if t.cancelled() else None)
lambda t: new_handle.cancel() if t.cancelled() else None
)

@utils.log_exceptions(logger=logger)
async def _synthesize_answer_task(
Expand Down

0 comments on commit 7765d1e

Please sign in to comment.