dkolarova commited on
Commit
be9229e
·
verified ·
1 Parent(s): dfda327

Update tools_agent.py

Browse files
Files changed (1) hide show
  1. tools_agent.py +2 -2
tools_agent.py CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import InferenceClient
4
  import os
5
  import json
6
 
7
- from tools import convert_currency
8
 
9
 
10
  class Agent:
@@ -223,7 +223,7 @@ def main():
223
 
224
 
225
  agent = Agent()
226
- agent.add_tool(convert_currency)
227
 
228
  query_list = ["I am traveling to Japan from Serbia, I have 1500 of local currency, how much of Japaese currency will I be able to get?"]
229
 
 
4
  import os
5
  import json
6
 
7
+ from tools import convert_currency, show_my_memory
8
 
9
 
10
  class Agent:
 
223
 
224
 
225
  agent = Agent()
226
+ agent.add_tool(convert_currency, show_my_memory)
227
 
228
  query_list = ["I am traveling to Japan from Serbia, I have 1500 of local currency, how much of Japaese currency will I be able to get?"]
229