Skip to content

Commit

Permalink
Made semgrep optional, updated packages, pinned LiteLLM
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Oct 19, 2023
1 parent 63b3c27 commit ab5259d
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 580 deletions.
2 changes: 1 addition & 1 deletion interpreter/terminal_interface/terminal_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def terminal_interface(interpreter, message):
]

if interpreter.safe_mode != "off":
interpreter_intro_message.append(f"**Safe Mode**: {interpreter.safe_mode}")
interpreter_intro_message.append(f"**Safe Mode**: {interpreter.safe_mode}\n\n>Note: **Safe Mode** requires `semgrep` (`pip install semgrep`)")
else:
interpreter_intro_message.append(
"Use `interpreter -y` to bypass this."
Expand Down
Loading

0 comments on commit ab5259d

Please sign in to comment.