(self)
| 14 | return screen_width, screen_height |
| 15 | |
| 16 | def get_screenshot(self) -> Image.Image: |
| 17 | # Enable screen recording from settings |
| 18 | img = pyautogui.screenshot() # Takes roughly 100ms # img.show() |
| 19 | return img |
| 20 | |
| 21 | def get_screenshot_in_base64(self) -> str: |
| 22 | # Base64 images work with ChatCompletions API but not Assistants API |
no outgoing calls
no test coverage detected