Cancel running tool execution.
(self)
| 437 | await self._finish_tool_calls() |
| 438 | |
| 439 | def cancel_running_tasks(self) -> None: |
| 440 | """Cancel running tool execution.""" |
| 441 | self._cancelled = True |
| 442 | |
| 443 | async def _on_tool_start(self, call: CTPToolCall) -> None: |
| 444 | """Callback when a tool starts execution.""" |
no outgoing calls