Configuration for Browser Use (Research Agent)
| 53 | |
| 54 | @dataclass |
| 55 | class BrowserUseConfig: |
| 56 | """Configuration for Browser Use (Research Agent)""" |
| 57 | enabled: bool = False |
| 58 | headless: bool = True |
| 59 | model: str = "gpt-4o" # Model used for navigation and summarization logic |
| 60 | search_depth: int = 2 # How many pages to visit per query |
| 61 | |
| 62 | # Safety and limits |
| 63 | allowed_domains: Optional[List[str]] = None # Restrict browsing to specific domains |
| 64 | max_actions: int = 20 # Limit the number of actions the agent can take |
| 65 | |
| 66 | |
| 67 | @dataclass |