diff --git a/src/crewai/tools/human_tool.py b/src/crewai/tools/human_tool.py index 39c7ccd66..80b5e669b 100644 --- a/src/crewai/tools/human_tool.py +++ b/src/crewai/tools/human_tool.py @@ -1,5 +1,6 @@ """Tool for handling human input using LangGraph's interrupt mechanism.""" +import logging from typing import Any, Dict, Optional from pydantic import BaseModel, Field @@ -18,8 +19,6 @@ class HumanToolSchema(BaseModel): description="Optional timeout in seconds for waiting for user response" ) -import logging - class HumanTool(BaseTool): """Tool for getting human input using LangGraph's interrupt mechanism. diff --git a/tests/tools/test_human_tool.py b/tests/tools/test_human_tool.py index 587476f9e..547c606ab 100644 --- a/tests/tools/test_human_tool.py +++ b/tests/tools/test_human_tool.py @@ -1,8 +1,9 @@ """Test HumanTool functionality.""" -import pytest from unittest.mock import patch +import pytest + from crewai.tools import HumanTool def test_human_tool_basic():