()
| 168 | assert args.browser, "Browser tool is not enabled" |
| 169 | tool_name = "Search" |
| 170 | async def run_tool(): |
| 171 | results = [] |
| 172 | async for msg in browser_tool.process(last_message): |
| 173 | results.append(msg) |
| 174 | return results |
| 175 | |
| 176 | result = asyncio.run(run_tool()) |
| 177 | messages += result |