Skip to content

Commit f7726dc

Browse files
committed
fix: mypy errors
1 parent af7119d commit f7726dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pydantic_deep/capabilities/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _build_hook_input(
146146
tool_name: str,
147147
tool_args: dict[str, Any],
148148
tool_result: Any | None = None,
149-
tool_error: Exception | None = None,
149+
tool_error: BaseException | None = None,
150150
) -> HookInput:
151151
"""Build HookInput from hook context."""
152152
return HookInput(

0 commit comments

Comments
 (0)