Skip to content

Commit

Permalink
use default value for code in browser agent
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Sep 10, 2024
1 parent a36007e commit 7d5ef46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/browser/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def take_screenshot():
driver.get(site)

for i in range(1, 5):
code = ""
try:
code = site_use(prompt, driver.current_url)
exec(code)
Expand Down

0 comments on commit 7d5ef46

Please sign in to comment.