Skip to content

Commit 59e69a1

Browse files
committed
fix langchain tool import
1 parent b0e1f7a commit 59e69a1

File tree

1 file changed

+1
-1
lines changed
  • label_studio_ml/examples/langchain_search_agent

1 file changed

+1
-1
lines changed

label_studio_ml/examples/langchain_search_agent/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from uuid import uuid4
55
from typing import List, Dict, Optional, Any
66
from label_studio_ml.model import LabelStudioMLBase
7-
from langchain.tools import Tool
7+
from langchain.tools import tool
88
from langchain.utilities import GoogleSearchAPIWrapper
99
from langchain.callbacks.base import BaseCallbackHandler
1010
from langchain.agents import initialize_agent

0 commit comments

Comments
 (0)