You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shows you what's on the screen by taking a screenshot of the entire screen or a specified quadrant. Returns a `pil_image` `in case you need it (rarely). **You almost always want to do this first!**
@@ -106,7 +113,9 @@ def screenshot(
106
113
region=self.get_active_window()["region"]
107
114
screenshot=pyautogui.screenshot(region=region)
108
115
else:
109
-
screenshot=take_screenshot_to_pil(screen=screen, combine_screens=combine_screens) # this function uses pyautogui.screenshot which works fine for all OS (mac, linux and windows)
116
+
screenshot=take_screenshot_to_pil(
117
+
screen=screen, combine_screens=combine_screens
118
+
) # this function uses pyautogui.screenshot which works fine for all OS (mac, linux and windows)
110
119
# message = format_to_recipient("Taking a screenshot of the entire screen. This is not recommended. You (the language model assistant) will recieve it with low resolution.\n\nTo maximize performance, use computer.display.view(active_app_only=True). This will produce an ultra high quality image of the active application.", "assistant")
print("Open Interpreter will use Moondream (tiny vision model) to describe images to the language model. Set `interpreter.llm.vision_renderer = None` to disable this behavior.")
15
-
print("Alternativley, you can use a vision-supporting LLM and set `interpreter.llm.supports_vision = True`.")
18
+
print(
19
+
"Open Interpreter will use Moondream (tiny vision model) to describe images to the language model. Set `interpreter.llm.vision_renderer = None` to disable this behavior."
20
+
)
21
+
print(
22
+
"Alternativley, you can use a vision-supporting LLM and set `interpreter.llm.supports_vision = True`."
0 commit comments