huytofu92 commited on
Commit
4c52ca4
·
1 Parent(s): 7d82e4f

Test run no browser

Browse files
Files changed (1) hide show
  1. mini_agents.py +5 -4
mini_agents.py CHANGED
@@ -6,7 +6,7 @@ from tools import to_dataframe, to_json, get_dataframe_data, get_dataframe_colum
6
  from vlm_tools import image_processing, object_detection_tool, ocr_scan_tool, extract_images_from_video, get_image_from_file_path, get_video_from_file_path
7
  from audio_tools import transcribe_audio_tool, get_audio_from_file_path, noise_reduction, audio_segmentation, speaker_diarization
8
  from community_tools import community_tools, get_youtube_transcript_from_url
9
- from browser import browser_manager
10
  import os
11
  import logging
12
  import yaml
@@ -199,9 +199,10 @@ class MasterAgentWrapper:
199
  """Run the agent with thread-safe browser tools"""
200
  try:
201
  # Get browser tools in the correct context
202
- with browser_manager.get_browser_tools() as browser_tools:
203
- # Run with browser tools
204
- return self._run_with_browser_tools(question, browser_tools)
 
205
 
206
  except Exception as e:
207
  logging.error(f"Error in master agent run: {e}")
 
6
  from vlm_tools import image_processing, object_detection_tool, ocr_scan_tool, extract_images_from_video, get_image_from_file_path, get_video_from_file_path
7
  from audio_tools import transcribe_audio_tool, get_audio_from_file_path, noise_reduction, audio_segmentation, speaker_diarization
8
  from community_tools import community_tools, get_youtube_transcript_from_url
9
+ # from browser import browser_manager
10
  import os
11
  import logging
12
  import yaml
 
199
  """Run the agent with thread-safe browser tools"""
200
  try:
201
  # Get browser tools in the correct context
202
+ # with browser_manager.get_browser_tools() as browser_tools:
203
+ # # Run with browser tools
204
+ # return self._run_with_browser_tools(question, browser_tools)
205
+ return self.master_agent.run(question) # Try without browser tools
206
 
207
  except Exception as e:
208
  logging.error(f"Error in master agent run: {e}")