Mark all pending/running tool widgets as error and clear tracking.
This is used as a safety net when an unexpected exception aborts
streaming before matching ToolMessage results are received.
finalize_pending_tools_with_error(
self,
error: str,
) -> None| Name | Type | Description |
|---|---|---|
error* | str | Error text to display in each pending tool widget. |