Update agents/tools/ai_tools.py
Browse files- agents/tools/ai_tools.py +2 -2
agents/tools/ai_tools.py
CHANGED
|
@@ -142,8 +142,8 @@ class AITools():
|
|
| 142 |
) as stagehand_tool:
|
| 143 |
result = stagehand_tool.run(
|
| 144 |
instruction=question,
|
| 145 |
-
|
| 146 |
-
command_type="
|
| 147 |
).strip()
|
| 148 |
|
| 149 |
print(f"🛠️ AITools: web_browser_tool: result={result}")
|
|
|
|
| 142 |
) as stagehand_tool:
|
| 143 |
result = stagehand_tool.run(
|
| 144 |
instruction=question,
|
| 145 |
+
url=url_str,
|
| 146 |
+
command_type="extract" # TODO: act, extract, observe
|
| 147 |
).strip()
|
| 148 |
|
| 149 |
print(f"🛠️ AITools: web_browser_tool: result={result}")
|