Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

commands, git on docker

Eddie Cohen4f9d5b9e32fb
diff --git a/Dockerfile b/Dockerfile
index 3ae1ac1219..5c1822b319 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,10 @@
# Use an official Python base image from the Docker Hub
FROM python:3.11-slim
+# Install git
+RUN apt-get -y update
+RUN apt-get -y install git
+
# Set environment variables
ENV PIP_NO_CACHE_DIR=yes \
PYTHONUNBUFFERED=1 \
diff --git a/autogpt/commands.py b/autogpt/commands.py
index 1e8e9047e0..e8f1c1d127 100644
--- a/autogpt/commands.py
+++ b/autogpt/commands.py
@@ -82,7 +82,7 @@ def execute_command(command_name, arguments):
elif command_name == "get_hyperlinks":
return get_hyperlinks(arguments["url"])
elif command_name == "clone_repository":
- return clone_repository(arguments["repo_url"], arguments["clone_path"])
+ return clone_repository(arguments["repository_url"], arguments["clone_path"])
elif command_name == "read_file":
return read_file(arguments["file"])
elif command_name == "write_to_file":