There was an error while loading. Please reload this page.
file_path
1 parent 6de177a commit 6adea91Copy full SHA for 6adea91
operate/main.py
@@ -568,7 +568,7 @@ def summarize(messages, objective):
568
return content
569
570
except Exception as e:
571
- print(f"Error parsing JSON: {e}")
+ print(f"Error in summarize: {e}")
572
return "Failed to summarize the workflow"
573
574
@@ -760,8 +760,7 @@ def capture_mini_screenshot_with_cursor(
760
)
761
762
763
-def capture_screen_with_cursor(file_path=os.path.join("screenshots", "screenshot.png")):
764
- file_path = os.path.join("screenshots", "screenshot.png")
+def capture_screen_with_cursor(file_path):
765
user_platform = platform.system()
766
767
if user_platform == "Windows":
0 commit comments