diff --git a/server/server.py b/server/server.py index bcebc0e..645cba0 100644 --- a/server/server.py +++ b/server/server.py @@ -1,5 +1,7 @@ #!/usr/bin python3 +# NOTE this script is temporary and will be improved + from flask import Flask, jsonify, request import threading import ollama diff --git a/sources/agents/browser_agent.py b/sources/agents/browser_agent.py index 1b65259..ec20e27 100644 --- a/sources/agents/browser_agent.py +++ b/sources/agents/browser_agent.py @@ -75,7 +75,6 @@ class BrowserAgent(Agent): remaining_links_text = remaining_links if remaining_links is not None else "No links remaining, do a new search." inputs_form = self.browser.get_form_inputs() inputs_form_text = '\n'.join(inputs_form) - print("Visible form:\n", inputs_form_text) return f""" You are a web browser. diff --git a/sources/browser.py b/sources/browser.py index 789d255..a069678 100644 --- a/sources/browser.py +++ b/sources/browser.py @@ -308,7 +308,6 @@ class Browser: if not xpath: continue element = self.driver.find_element(By.XPATH, xpath) - print("found-->", element) input_type = (element.get_attribute("type") or "text").lower() if input_type in ["checkbox", "radio"]: is_checked = element.is_selected()