llamasrock commited on
Commit
c774b62
·
verified ·
1 Parent(s): 94183c0

Update app.py

Browse files

corrected agent tools

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ class BasicAgent:
32
  # self.google_search_tool = Tool(google_search = GoogleSearch())
33
  self.google_search_tool = GoogleSearchTool()
34
  self.get_file_tool = get_file
35
- self.agent = CodeAgent(model = self.llm_model, tools = [self.google_search_tool, get_file_tool])
36
  # # Define Google API client with GoogleSearch tool
37
  # self.client = genai.Client(api_key=GEMINI_API_KEY)
38
 
 
32
  # self.google_search_tool = Tool(google_search = GoogleSearch())
33
  self.google_search_tool = GoogleSearchTool()
34
  self.get_file_tool = get_file
35
+ self.agent = CodeAgent(model = self.llm_model, tools = [self.google_search_tool, self.get_file_tool])
36
  # # Define Google API client with GoogleSearch tool
37
  # self.client = genai.Client(api_key=GEMINI_API_KEY)
38