typos
This commit is contained in:
@@ -163,7 +163,7 @@ def write_note(note: str) -> str:
|
||||
|
||||
@tool
|
||||
def save_python_repl(command: str):
|
||||
"""Simulates the normal python repl but with certain patterns blocked for savety reasons"""
|
||||
"""Simulates the normal python repl but with certain patterns blocked for safety reasons"""
|
||||
python_repl = PythonREPL()
|
||||
blocked_patterns = [
|
||||
"^ *os\\.",
|
||||
@@ -187,7 +187,7 @@ def save_python_repl(command: str):
|
||||
|
||||
return ret
|
||||
else:
|
||||
return f"Command not executed, becaise the blocked pattern `{pattern}` was found in the command."
|
||||
return f"Command not executed, because the blocked pattern `{pattern}` was found in the command."
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user