Antoine101 commited on
Commit
b2765c3
·
verified ·
1 Parent(s): a1eba64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -21,7 +21,9 @@ class BasicAgent:
21
  def __init__(self, llm_checkpoint):
22
  llm = HuggingFaceEndpoint(repo_id=llm_checkpoint)
23
  chat = ChatHuggingFace(llm=llm, verbose=True)
24
- self.tools = []
 
 
25
  chat_with_tools = chat.bind_tools(tools)
26
  self.graph = self._build_graph()
27
  print("BasicAgent initialized.")
 
21
  def __init__(self, llm_checkpoint):
22
  llm = HuggingFaceEndpoint(repo_id=llm_checkpoint)
23
  chat = ChatHuggingFace(llm=llm, verbose=True)
24
+ self.tools = [
25
+ search_tool
26
+ ]
27
  chat_with_tools = chat.bind_tools(tools)
28
  self.graph = self._build_graph()
29
  print("BasicAgent initialized.")