A natural language interface for computers
369 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | interpreter/terminal_interface/terminal_interface.py | 229 | # Create a new, identical block where the code will actually be run |
| MEDIUM | interpreter/terminal_interface/terminal_interface.py | 238 | # Create a temporary file |
| MEDIUM | interpreter/terminal_interface/local_setup.py | 195 | # Define the choices for local models |
| MEDIUM | interpreter/terminal_interface/local_setup.py | 274 | # Create a new inquirer selection from the names |
| MEDIUM | interpreter/terminal_interface/local_setup.py | 393 | # Define the path to the models directory |
| MEDIUM | interpreter/terminal_interface/components/code_block.py | 42 | # Create a table for the code |
| MEDIUM | interpreter/terminal_interface/components/code_block.py | 80 | # Create a panel for the code |
| MEDIUM | interpreter/terminal_interface/components/code_block.py | 83 | # Create a panel for the output (if there is any) |
| MEDIUM | interpreter/terminal_interface/components/code_block.py | 89 | # Create a group with the code table and output panel |
| MEDIUM | interpreter/terminal_interface/profiles/profiles.py | 251 | # Create a new dictionary if the part doesn't exist |
| MEDIUM | …/terminal_interface/profiles/defaults/llama3-vision.py | 32 | # Define the path to the desktop |
| MEDIUM | …erminal_interface/profiles/defaults/local-assistant.py | 56 | # Create a calendar event |
| MEDIUM | …erminal_interface/profiles/defaults/local-assistant.py | 97 | # Create a calendar event for the launch date announcement |
| MEDIUM | …eter/terminal_interface/profiles/defaults/codestral.py | 29 | # Define the path to the desktop |
| MEDIUM | …eter/terminal_interface/profiles/defaults/codestral.py | 32 | # Initialize a variable to store the total size |
| MEDIUM | …rminal_interface/profiles/defaults/codestral-vision.py | 32 | # Define the path to the desktop |
| MEDIUM | …rminal_interface/profiles/defaults/codestral-vision.py | 65 | # Define the path to the image |
| MEDIUM | …eter/terminal_interface/profiles/defaults/snowpark.yml | 60 | # Create a session |
| MEDIUM | interpreter/core/respond.py | 61 | # Create the version of messages that we'll send to the LLM |
| MEDIUM | interpreter/core/async_core.py | 263 | # Create a new message |
| MEDIUM | interpreter/core/utils/temporary_file.py | 30 | # Create a temporary file |
| MEDIUM | interpreter/core/utils/lazy_import.py | 22 | # Create a module from the spec and set it up for lazy loading |
| MEDIUM | interpreter/core/computer/utils/computer_vision.py | 35 | # Create an empty list to hold dictionaries for each bounding box |
| MEDIUM | interpreter/core/computer/utils/computer_vision.py | 70 | # Create a copy of the grayscale image to draw on |
| MEDIUM | interpreter/core/computer/utils/computer_vision.py | 142 | # Create a small black square background for the ID |
| MEDIUM | interpreter/core/computer/display/display.py | 359 | # Create a new image with a size that can contain all screenshots |
| MEDIUM | interpreter/core/computer/display/point/point.py | 23 | # Create a set of English words |
| MEDIUM | interpreter/core/computer/display/point/point.py | 65 | # Create a temporary file to save the image data |
| MEDIUM | interpreter/core/computer/display/point/point.py | 79 | # Create a draw object |
| MEDIUM | interpreter/core/computer/display/point/point.py | 108 | # Create a draw object |
| MEDIUM | interpreter/core/computer/display/point/point.py | 140 | # Create a draw object |
| MEDIUM | interpreter/core/computer/display/point/point.py | 174 | # Create a draw object |
| MEDIUM | interpreter/core/computer/display/point/point.py | 191 | # Create a draw object |
| MEDIUM | interpreter/core/computer/display/point/point.py | 213 | # Create an empty list to store the filtered boxes |
| MEDIUM | interpreter/core/computer/display/point/point.py | 237 | # Create a copy of the image data |
| MEDIUM | interpreter/core/computer/display/point/point.py | 268 | # Create a copy of the image data |
| MEDIUM | interpreter/core/computer/display/point/point.py | 307 | # Define the pixel expansion amount |
| MEDIUM | interpreter/core/computer/display/point/point.py | 586 | # Create a string with all parameters |
| MEDIUM | interpreter/core/computer/keyboard/keyboard.py | 104 | # Create the AppleScript |
| MEDIUM | interpreter/computer_use/tools/edit.py | 211 | # Create a snippet of the edited section |
| MEDIUM | scripts/wtf.py | 348 | # Create the dictionary with filename, line number, and text |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | interpreter/__init__.py | 0 | display markdown message. works with multiline strings with lots of indentation. will automatically make single line > t |
| HIGH | …r/terminal_interface/utils/display_markdown_message.py | 0 | display markdown message. works with multiline strings with lots of indentation. will automatically make single line > t |
| HIGH | interpreter/computer_use/loop.py | 0 | display markdown message. works with multiline strings with lots of indentation. will automatically make single line > t |
| HIGH | …/terminal_interface/profiles/defaults/llama3-vision.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …erpreter/terminal_interface/profiles/defaults/local.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …erminal_interface/profiles/defaults/local-assistant.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …eter/terminal_interface/profiles/defaults/codestral.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …rminal_interface/profiles/defaults/codestral-vision.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …r/terminal_interface/profiles/defaults/codestral-os.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …eter/terminal_interface/profiles/defaults/llama3-os.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …reter/terminal_interface/profiles/defaults/local-os.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …rpreter/terminal_interface/profiles/defaults/llama3.py | 0 | \n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar |
| HIGH | …r/terminal_interface/profiles/defaults/codestral-os.py | 0 | this is an open interpreter profile. it configures open interpreter to run `llama3` using ollama. images sent to the mod |
| HIGH | …eter/terminal_interface/profiles/defaults/llama3-os.py | 0 | this is an open interpreter profile. it configures open interpreter to run `llama3` using ollama. images sent to the mod |
| HIGH | …reter/terminal_interface/profiles/defaults/local-os.py | 0 | this is an open interpreter profile. it configures open interpreter to run `llama3` using ollama. images sent to the mod |
| HIGH | …r/terminal_interface/profiles/defaults/codestral-os.py | 0 | you are an ai assistant that writes markdown code snippets to answer the user's request. you speak very concisely and qu |
| HIGH | …eter/terminal_interface/profiles/defaults/llama3-os.py | 0 | you are an ai assistant that writes markdown code snippets to answer the user's request. you speak very concisely and qu |
| HIGH | …reter/terminal_interface/profiles/defaults/local-os.py | 0 | you are an ai assistant that writes markdown code snippets to answer the user's request. you speak very concisely and qu |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | interpreter/__init__.py | 8 | |
| LOW | interpreter/terminal_interface/magic_commands.py | 259 | |
| LOW | …rpreter/terminal_interface/start_terminal_interface.py | 581 | |
| LOW | …rpreter/terminal_interface/start_terminal_interface.py | 608 | |
| LOW | interpreter/terminal_interface/validate_llm_settings.py | 19 | |
| LOW | interpreter/terminal_interface/terminal_interface.py | 47 | |
| LOW | interpreter/terminal_interface/local_setup.py | 15 | |
| LOW | interpreter/terminal_interface/utils/count_tokens.py | 47 | |
| LOW | …r/terminal_interface/utils/display_markdown_message.py | 6 | |
| LOW | interpreter/terminal_interface/utils/display_output.py | 10 | |
| LOW | interpreter/terminal_interface/utils/display_output.py | 37 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 67 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 145 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 216 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 591 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 653 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 682 | |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 709 | |
| LOW | interpreter/core/archived_server_2.py | 195 | |
| LOW | interpreter/core/archived_server_2.py | 221 | |
| LOW | interpreter/core/archived_server_2.py | 225 | |
| LOW | interpreter/core/respond.py | 14 | |
| LOW | interpreter/core/async_core.py | 297 | |
| LOW | interpreter/core/async_core.py | 65 | |
| LOW | interpreter/core/async_core.py | 110 | |
| LOW | interpreter/core/async_core.py | 209 | |
| LOW | interpreter/core/async_core.py | 438 | |
| LOW | interpreter/core/async_core.py | 643 | |
| LOW | interpreter/core/async_core.py | 820 | |
| LOW | interpreter/core/async_core.py | 443 | |
| LOW | interpreter/core/async_core.py | 508 | |
| LOW | interpreter/core/async_core.py | 549 | |
| LOW | interpreter/core/core.py | 217 | |
| LOW | interpreter/core/core.py | 297 | |
| LOW | interpreter/core/archived_server_1.py | 11 | |
| LOW | interpreter/core/archived_server_1.py | 104 | |
| LOW | interpreter/core/llm/run_function_calling_llm.py | 24 | |
| LOW | interpreter/core/llm/run_tool_calling_llm.py | 101 | |
| LOW | interpreter/core/llm/llm.py | 79 | |
| LOW | interpreter/core/llm/llm.py | 339 | |
| LOW | interpreter/core/llm/run_text_llm.py | 1 | |
| LOW | interpreter/core/llm/utils/merge_deltas.py | 1 | |
| LOW | interpreter/core/llm/utils/parse_partial_json.py | 5 | |
| LOW | …terpreter/core/llm/utils/convert_to_openai_messages.py | 9 | |
| LOW | interpreter/core/utils/system_debug_info.py | 81 | |
| LOW | interpreter/core/computer/sms/sms.py | 43 | |
| LOW | interpreter/core/computer/mail/mail.py | 15 | |
| LOW | interpreter/core/computer/terminal/terminal.py | 82 | |
| LOW | interpreter/core/computer/terminal/terminal.py | 156 | |
| LOW | interpreter/core/computer/terminal/languages/java.py | 33 | |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 507 | |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 133 | |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 320 | |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 134 | |
| LOW | …ore/computer/terminal/languages/subprocess_language.py | 73 | |
| LOW | …ore/computer/terminal/languages/subprocess_language.py | 140 | |
| LOW | interpreter/core/computer/utils/get_active_window.py | 5 | |
| LOW | interpreter/core/computer/utils/computer_vision.py | 54 | |
| LOW | interpreter/core/computer/vision/vision.py | 59 | |
| LOW | interpreter/core/computer/vision/vision.py | 122 | |
| 16 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | interpreter/__init__.py | 25 | print("Error displaying line:", line) |
| LOW | interpreter/terminal_interface/local_setup.py | 183 | except Exception as e: |
| LOW | interpreter/terminal_interface/local_setup.py | 442 | except Exception as e: |
| MEDIUM | …r/terminal_interface/utils/display_markdown_message.py | 23 | print("Error displaying line:", line) |
| LOW | interpreter/terminal_interface/utils/display_output.py | 83 | except Exception as e: |
| MEDIUM | interpreter/terminal_interface/utils/display_output.py | 84 | print(f"Error opening file: {e}") |
| MEDIUM | interpreter/terminal_interface/utils/display_output.py | 75 | def open_file(file_path): |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 792 | except Exception: |
| MEDIUM | interpreter/terminal_interface/profiles/profiles.py | 768 | def write_key_to_profile(key, value): |
| LOW | …inal_interface/profiles/defaults/codestral-few-shot.py | 21 | except Exception as e: |
| LOW | interpreter/core/archived_server_2.py | 248 | except Exception as e: |
| LOW | interpreter/core/respond.py | 102 | except Exception as e: |
| LOW | interpreter/core/respond.py | 351 | except Exception as e: |
| LOW | interpreter/core/respond.py | 384 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 186 | except Exception as e: |
| MEDIUM | interpreter/core/async_core.py | 603 | print(f"Error: {str(e)}") |
| LOW | interpreter/core/async_core.py | 692 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 701 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 710 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 490 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 534 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 599 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 620 | except Exception as e: |
| LOW | interpreter/core/async_core.py | 639 | except Exception as e: |
| LOW | interpreter/core/core.py | 201 | except Exception as e: |
| MEDIUM | interpreter/core/core.py | 164 | def chat(self, message=None, display=True, stream=False, blocking=True): |
| LOW | interpreter/core/llm/llm.py | 365 | except Exception as e: |
| LOW | interpreter/core/llm/llm.py | 451 | except Exception as e: |
| LOW | interpreter/core/utils/temporary_file.py | 18 | except Exception as e: |
| LOW | interpreter/core/utils/temporary_file.py | 44 | except Exception as e: |
| LOW | interpreter/core/utils/system_debug_info.py | 17 | except Exception as e: |
| LOW | interpreter/core/utils/system_debug_info.py | 27 | except Exception as e: |
| LOW | interpreter/core/utils/system_debug_info.py | 86 | except Exception as e: |
| LOW | interpreter/core/utils/system_debug_info.py | 97 | except Exception as e: |
| MEDIUM | interpreter/core/utils/system_debug_info.py | 14 | def get_pip_version(): |
| MEDIUM | interpreter/core/utils/system_debug_info.py | 22 | def get_oi_version(): |
| LOW | interpreter/core/utils/scan_code.py | 53 | except Exception as e: |
| LOW | interpreter/core/computer/terminal/languages/java.py | 114 | except Exception as e: |
| MEDIUM | interpreter/core/computer/terminal/languages/java.py | 33 | def run(self, code): |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 203 | except Exception as e: |
| LOW | interpreter/core/computer/mouse/mouse.py | 39 | except Exception as e: |
| LOW | interpreter/core/computer/browser/browser.py | 75 | except Exception as e: |
| MEDIUM | interpreter/core/computer/browser/browser.py | 76 | print(f"An error occurred while setting up the WebDriver: {e}") |
| MEDIUM | interpreter/core/computer/browser/browser.py | 65 | def setup(self, headless): |
| LOW | interpreter/core/computer/browser/browser_next.py | 76 | except Exception as exc: |
| LOW | interpreter/core/computer/ai/ai.py | 14 | except Exception: |
| LOW | interpreter/core/computer/ai/ai.py | 51 | except Exception: |
| MEDIUM | interpreter/core/computer/ai/ai.py | 6 | def split_into_chunks(text, tokens, llm, overlap): |
| MEDIUM | interpreter/core/computer/ai/ai.py | 22 | def chunk_responses(responses, tokens, llm): |
| LOW | interpreter/core/computer/os/os.py | 77 | except Exception as e: |
| LOW | interpreter/core/computer/display/display.py | 271 | except Exception as e: |
| MEDIUM | interpreter/core/computer/skills/skills.py | 265 | print(f"Error: Failed to write skill file to {skill_file_path}") |
| MEDIUM | interpreter/computer_use/loop.py | 73 | print("Error displaying line:", line) |
| LOW | interpreter/computer_use/loop.py | 412 | except Exception as e: |
| MEDIUM | interpreter/computer_use/loop.py | 413 | print("Error: An exception occurred.") |
| MEDIUM | interpreter/computer_use/loop.py | 417 | # print(f"Error: {e}") |
| LOW | interpreter/computer_use/loop.py | 516 | except Exception as e: |
| LOW | interpreter/computer_use/tools/edit.py | 281 | except Exception as e: |
| LOW | interpreter/computer_use/tools/edit.py | 288 | except Exception as e: |
| LOW | scripts/wtf.py | 280 | except Exception as e: |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …terpreter/terminal_interface/conversation_navigator.py | 28 | # Check if conversations directory exists |
| LOW | interpreter/terminal_interface/local_setup.py | 380 | if platform.system() == "Darwin": # Check if the system is MacOS |
| LOW | interpreter/terminal_interface/local_setup.py | 400 | # Check if there are any models in the models folder |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 689 | # Check if the default.yaml profile exists and has a version key |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 748 | # Check if a version line already exists |
| LOW | …/terminal_interface/profiles/defaults/llama3-vision.py | 37 | # Check if the file is an image |
| LOW | interpreter/terminal_interface/profiles/defaults/os.py | 151 | # Check if required packages are installed |
| LOW | …rminal_interface/profiles/defaults/codestral-vision.py | 37 | # Check if the file is an image |
| LOW | interpreter/core/async_core.py | 913 | # Check if we're within 6 seconds of last_start_time |
| LOW | interpreter/core/core.py | 280 | # Check if the directory exists, if not, create it |
| LOW | interpreter/core/core.py | 365 | # Check if the chunk's role, type, and format (if present) match the last_flag_base |
| LOW | interpreter/core/utils/lazy_import.py | 6 | # Check if module is already imported |
| LOW | interpreter/core/computer/computer.py | 161 | # Check if the method should be ignored based on its decorator |
| LOW | interpreter/core/computer/terminal/terminal.py | 83 | # Check if this is an apt install command |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 192 | # Check if the user input is CTRL-C |
| LOW | interpreter/core/computer/utils/computer_vision.py | 126 | # Add the center to the list |
| LOW | interpreter/core/computer/utils/computer_vision.py | 171 | # Increment id |
| LOW | interpreter/core/computer/vision/vision.py | 85 | # Set path to the path of the temporary file |
| LOW | interpreter/core/computer/vision/vision.py | 98 | # Set path to the path of the temporary file |
| LOW | interpreter/core/computer/vision/vision.py | 107 | # Set path to the path of the temporary file |
| LOW | interpreter/core/computer/os/os.py | 33 | if "darwin" in platform.system().lower(): # Check if the OS is macOS |
| LOW | interpreter/core/computer/display/display.py | 30 | # Check if there's a display available |
| LOW | interpreter/core/computer/display/point/point.py | 457 | # Check if the model file exists |
| LOW | interpreter/computer_use/loop.py | 337 | # Check if running in server mode |
| LOW | interpreter/computer_use/tools/edit.py | 109 | # Check if its an absolute path |
| LOW | interpreter/computer_use/tools/edit.py | 115 | # Check if path exists |
| LOW | interpreter/computer_use/tools/edit.py | 124 | # Check if the path points to a directory |
| LOW | interpreter/computer_use/tools/edit.py | 180 | # Read the file content |
| LOW | interpreter/computer_use/tools/edit.py | 185 | # Check if old_str is unique in the file |
| LOW | interpreter/computer_use/tools/computer.py | 154 | if platform.system() == "Darwin": # Check if we're on macOS |
| LOW | tests/test_interpreter.py | 718 | # Check if chunk has the right schema |
| LOW | tests/test_interpreter.py | 728 | # Check if assistant message, console output, and active line are found |
| LOW | tests/test_interpreter.py | 1224 | # Open the file in append mode |
| LOW | tests/test_interpreter.py | 1235 | # # Read the file to make sure the number is in there |
| LOW | tests/test_interpreter.py | 1238 | # # Read the file content |
| LOW | tests/test_interpreter.py | 1241 | # # Check if the current number is in the file content |
| LOW | tests/test_interpreter.py | 1256 | # Open the file and read its content |
| LOW | tests/test_interpreter.py | 1260 | # Check if '1' and '5' are in the content |
| LOW | installers/oi-linux-installer.sh | 8 | # Check if Rust is installed |
| LOW | installers/oi-mac-installer.sh | 14 | # Check if Git is installed |
| LOW | installers/oi-mac-installer.sh | 57 | # Check if pyenv is already installed |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | interpreter/__init__.py | 57 | |
| LOW | interpreter/__init__.py | 58 | |
| LOW | …reter/terminal_interface/contributing_conversations.py | 6 | |
| LOW | …rpreter/terminal_interface/render_past_conversation.py | 8 | |
| LOW | …rpreter/terminal_interface/start_terminal_interface.py | 6 | |
| LOW | interpreter/terminal_interface/validate_llm_settings.py | 7 | |
| LOW | interpreter/terminal_interface/validate_llm_settings.py | 11 | |
| LOW | interpreter/terminal_interface/validate_llm_settings.py | 14 | |
| LOW | …terpreter/terminal_interface/conversation_navigator.py | 17 | |
| LOW | …terpreter/terminal_interface/utils/check_for_update.py | 1 | |
| LOW | …eter/terminal_interface/profiles/defaults/assistant.py | 4 | |
| LOW | interpreter/core/archived_server_2.py | 21 | |
| LOW | interpreter/core/archived_server_2.py | 23 | |
| LOW | interpreter/core/respond.py | 4 | |
| LOW | interpreter/core/async_core.py | 24 | |
| LOW | interpreter/core/llm/llm.py | 16 | |
| LOW | interpreter/core/llm/llm.py | 17 | |
| LOW | interpreter/core/llm/utils/parse_partial_json.py | 2 | |
| LOW | interpreter/core/utils/telemetry.py | 12 | |
| LOW | interpreter/core/utils/telemetry.py | 15 | |
| LOW | interpreter/core/utils/telemetry.py | 18 | |
| LOW | interpreter/core/utils/scan_code.py | 8 | |
| LOW | interpreter/core/computer/sms/sms.py | 7 | |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 7 | |
| LOW | …rpreter/core/computer/terminal/languages/powershell.py | 1 | |
| LOW | interpreter/core/computer/terminal/languages/ruby.py | 1 | |
| LOW | interpreter/core/computer/terminal/languages/ruby.py | 2 | |
| LOW | interpreter/core/computer/utils/get_active_window.py | 34 | |
| LOW | interpreter/core/computer/utils/computer_vision.py | 1 | |
| LOW | interpreter/core/computer/vision/vision.py | 9 | |
| LOW | interpreter/core/computer/vision/vision.py | 10 | |
| LOW | interpreter/core/computer/display/display.py | 2 | |
| LOW | interpreter/core/computer/display/display.py | 3 | |
| LOW | interpreter/core/computer/display/display.py | 4 | |
| LOW | interpreter/core/computer/display/display.py | 5 | |
| LOW | interpreter/core/computer/display/display.py | 6 | |
| LOW | interpreter/core/computer/display/display.py | 7 | |
| LOW | interpreter/core/computer/display/display.py | 8 | |
| LOW | interpreter/core/computer/display/display.py | 9 | |
| LOW | interpreter/core/computer/display/point/point.py | 14 | |
| LOW | interpreter/core/computer/skills/skills.py | 2 | |
| LOW | interpreter/core/computer/skills/skills.py | 3 | |
| LOW | interpreter/core/computer/skills/skills.py | 6 | |
| LOW | interpreter/core/computer/skills/skills.py | 11 | |
| LOW | interpreter/computer_use/loop.py | 23 | |
| LOW | interpreter/computer_use/loop.py | 38 | |
| LOW | interpreter/computer_use/loop.py | 38 | |
| LOW | interpreter/computer_use/tools/computer.py | 6 | |
| LOW | interpreter/computer_use/tools/computer.py | 7 | |
| LOW | tests/test_interpreter.py | 2 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …reter/terminal_interface/contributing_conversations.py | 19 | def display_contribution_message(): |
| LOW | …reter/terminal_interface/contributing_conversations.py | 32 | def display_contributing_current_message(): |
| LOW | …reter/terminal_interface/contributing_conversations.py | 60 | def set_send_future_conversations(interpreter, should_send_future): |
| LOW | …reter/terminal_interface/contributing_conversations.py | 71 | def user_wants_to_contribute_past(): |
| LOW | …reter/terminal_interface/contributing_conversations.py | 77 | def user_wants_to_contribute_future(): |
| LOW | …reter/terminal_interface/contributing_conversations.py | 83 | def contribute_conversation_launch_logic(interpreter): |
| LOW | …reter/terminal_interface/contributing_conversations.py | 103 | def contribute_past_and_future_logic( |
| LOW | …reter/terminal_interface/contributing_conversations.py | 123 | def get_contribute_cache_contents() -> ContributionCache: |
| LOW | …reter/terminal_interface/contributing_conversations.py | 140 | def write_to_contribution_cache(contribution_cache: ContributionCache): |
| LOW | interpreter/terminal_interface/validate_llm_settings.py | 113 | def display_welcome_message_once(interpreter): |
| LOW | …rpreter/terminal_interface/components/message_block.py | 31 | def textify_markdown_code_blocks(text): |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 756 | def migrate_user_app_directory(): |
| LOW | interpreter/core/async_core.py | 726 | async def openai_compatible_generator(run_code): |
| LOW | interpreter/core/llm/llm.py | 419 | def fixed_litellm_completions(**params): |
| LOW | …terpreter/core/llm/utils/convert_to_openai_messages.py | 9 | def convert_to_openai_messages( |
| LOW | interpreter/core/computer/computer.py | 88 | def _get_all_computer_tools_list(self): |
| LOW | interpreter/core/computer/computer.py | 107 | def _get_all_computer_tools_signature_and_description(self): |
| LOW | interpreter/core/computer/mail/mail.py | 151 | def format_path_for_applescript(self, file_path): |
| LOW | interpreter/core/computer/contacts/contacts.py | 71 | def get_full_names_from_first_name(self, first_name): |
| LOW | …preter/core/computer/terminal/languages/applescript.py | 35 | def add_active_line_indicators(self, code): |
| LOW | interpreter/core/computer/utils/computer_vision.py | 25 | def pytesseract_get_text_bounding_boxes(img): |
| LOW | interpreter/core/computer/browser/browser_next.py | 37 | def get_google_search_results(query): |
| LOW | interpreter/core/computer/files/files.py | 39 | def get_close_matches_in_text(original_text, filedata, n=3): |
| LOW | interpreter/core/computer/display/display.py | 309 | def get_text_as_list_of_lists(self, screenshot=None): |
| LOW | interpreter/computer_use/loop.py | 239 | def _maybe_filter_to_n_most_recent_images( |
| LOW | interpreter/computer_use/loop.py | 324 | def _maybe_prepend_system_tool_result(result: ToolResult, result_text: str): |
| LOW | tests/test_interpreter.py | 86 | def test_authenticated_acknowledging_breaking_server(): |
| LOW | tests/test_interpreter.py | 1271 | def test_nested_loops_and_multiple_newlines(): |
| LOW | tests/core/test_async_core.py | 13 | def test_host_and_port_defaults(self): |
| LOW | tests/core/test_async_core.py | 24 | def test_host_and_port_passed_in(self): |
| LOW | tests/core/computer/test_computer.py | 9 | def test_get_all_computer_tools_list(self): |
| LOW | tests/core/computer/test_computer.py | 16 | def test_get_all_computer_tools_signature_and_description(self): |
| LOW | tests/core/computer/files/test_files.py | 23 | def test_edit_original_text_in_filedata(self): |
| LOW | tests/core/computer/files/test_files.py | 37 | def test_edit_original_text_not_in_filedata(self): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | interpreter/__init__.py | 61 | interpreter = OpenInterpreter() |
| LOW | interpreter/terminal_interface/profiles/profiles.py | 501 | # Save modified profile file so far, so that it can be read later |
| LOW | interpreter/terminal_interface/profiles/defaults/os.py | 221 | # console = Console() |
| LOW | …eter/terminal_interface/profiles/defaults/snowpark.yml | 81 | # safe_mode: "off" # The safety mode for the LLM — one of "off", "ask", "auto" |
| LOW | …eter/terminal_interface/profiles/defaults/default.yaml | 21 | # General Configuration |
| LOW | interpreter/core/archived_server_2.py | 41 | # self.stt.stop() # It needs this for some reason |
| LOW | interpreter/core/archived_server_2.py | 161 | # self.interpreter.messages[-1] |
| LOW | interpreter/core/async_core.py | 1021 | # for _ in range(retries): |
| LOW | interpreter/core/core.py | 241 | self.messages = message |
| LOW | interpreter/core/archived_server_1.py | 41 | # if ( |
| LOW | interpreter/core/llm/run_tool_calling_llm.py | 101 | def run_tool_calling_llm(llm, request_params): |
| LOW | interpreter/core/llm/run_tool_calling_llm.py | 121 | # "type": "function", |
| LOW | interpreter/core/llm/run_tool_calling_llm.py | 141 | # m |
| LOW | …terpreter/core/llm/utils/convert_to_openai_messages.py | 21 | # if function_calling == False: |
| LOW | interpreter/core/utils/system_debug_info.py | 141 | ) |
| LOW | …r/core/computer/terminal/languages/jupyter_language.py | 101 | # functions = string_to_python(code) |
| LOW | interpreter/core/computer/display/display.py | 121 | # Since Local II, all images sent to local models will be rendered to text with moondream and pytesseract. |
| LOW | interpreter/core/computer/display/point/point.py | 281 | image_data_copy.save( |
| LOW | tests/test_interpreter.py | 1221 | # Always create a fresh file |
| LOW | installers/oi-mac-installer.sh | 61 | # Try to download and install pyenv using available commands |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | interpreter/core/async_core.py | 327 | var lastMessageElement = null; |
| HIGH | interpreter/core/async_core.py | 349 | if (lastMessageElement == null) { |
| HIGH | interpreter/core/archived_server_1.py | 73 | var lastMessageElement = null; |
| HIGH | interpreter/core/archived_server_1.py | 75 | if (lastMessageElement == null) { |
| HIGH | scripts/wtf.py | 41 | - If multiple steps are needed, explain the process briefly, then provide only the first command or a combined command u |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | interpreter/terminal_interface/validate_llm_settings.py | 74 | MacOS: `echo 'export OPENAI_API_KEY=your_api_key' >> ~/.zshrc` |
| HIGH | interpreter/terminal_interface/validate_llm_settings.py | 75 | Linux: `echo 'export OPENAI_API_KEY=your_api_key' >> ~/.bashrc` |
| HIGH | interpreter/terminal_interface/validate_llm_settings.py | 76 | Windows: `setx OPENAI_API_KEY your_api_key` |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | interpreter/core/computer/ai/ai.py | 154 | response = self.computer.interpreter.llm.interpreter.chat(text) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | interpreter/core/computer/ai/ai.py | 140 | |
| MEDIUM | interpreter/core/computer/ai/ai.py | 141 | |
| MEDIUM | interpreter/core/computer/ai/ai.py | 142 | |
| MEDIUM | interpreter/core/computer/ai/ai.py | 143 | |
| MEDIUM | interpreter/core/computer/ai/ai.py | 146 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …erpreter/terminal_interface/profiles/defaults/the01.py | 75 | phone_string = computer.contacts.get_phone_number("John Doe") |
| LOW | …erpreter/terminal_interface/profiles/defaults/the01.py | 76 | contact_string = computer.contacts.get_email_address("John Doe") |
| LOW | …eter/terminal_interface/profiles/defaults/assistant.py | 55 | phone_string = computer.contacts.get_phone_number("John Doe") |
| LOW | …eter/terminal_interface/profiles/defaults/assistant.py | 56 | contact_string = computer.contacts.get_email_address("John Doe") |
| LOW | …erminal_interface/profiles/defaults/local-assistant.py | 67 | computer.contacts.get_phone_number("John Doe") |
| LOW | …erminal_interface/profiles/defaults/local-assistant.py | 73 | computer.sms.send(to=computer.contacts.get_phone_number("John Doe"), message="Hello from the computer!") |
| LOW | …erminal_interface/profiles/defaults/local-assistant.py | 93 | jane_email = computer.contacts.get_email_address("Jane Doe") |
| LOW | interpreter/terminal_interface/profiles/defaults/os.py | 70 | computer.contacts.get_phone_number("John Doe") |
| LOW | interpreter/terminal_interface/profiles/defaults/os.py | 71 | computer.contacts.get_email_address("John Doe") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | interpreter/terminal_interface/terminal_interface.py | 394 | # We're going to just add it to the messages directly, not changing `recipient` here. |
| LOW | interpreter/core/llm/run_tool_calling_llm.py | 93 | # For non-tool-related messages, just add them as is |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | interpreter/core/computer/display/point/point.py | 488 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_interpreter.py | 1273 | """Can you write a nested for loop in python and shell and run them? Don't forget to properly format your shell |