We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f37010 commit 65a25e0Copy full SHA for 65a25e0
src/agents/realtime/session.py
@@ -768,9 +768,7 @@ def _enqueue_tool_call_task(
768
self, event: RealtimeModelToolCallEvent, agent_snapshot: RealtimeAgent
769
) -> None:
770
"""Run tool calls in the background to avoid blocking realtime transport."""
771
- task = asyncio.create_task(
772
- self._handle_tool_call(event, agent_snapshot=agent_snapshot)
773
- )
+ task = asyncio.create_task(self._handle_tool_call(event, agent_snapshot=agent_snapshot))
774
self._tool_call_tasks.add(task)
775
task.add_done_callback(self._on_tool_call_task_done)
776
0 commit comments