We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
call_ollama_llava
1 parent 6bc5994 commit 5ddec56Copy full SHA for 5ddec56
operate/models/apis.py
@@ -479,9 +479,6 @@ def call_ollama_llava(messages):
479
screenshot_filename = os.path.join(screenshots_dir, "screenshot.png")
480
# Call the function to capture the screen with the cursor
481
capture_screen_with_cursor(screenshot_filename)
482
-
483
- with open(screenshot_filename, "rb") as img_file:
484
- img_base64 = base64.b64encode(img_file.read()).decode("utf-8")
485
486
if len(messages) == 1:
487
user_prompt = get_user_first_message_prompt()
0 commit comments