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.

Fix forge not being an autogpt anymore (#5288)

merwanehamadi295787c948d0
diff --git a/autogpts/forge/run b/autogpts/forge/run
index 19ada609d6..a49404b85a 100755
--- a/autogpts/forge/run
+++ b/autogpts/forge/run
@@ -1,15 +1,15 @@
#!/bin/bash
kill $(lsof -t -i :8000)
-# ENV_PATH=$(poetry env info --path)
-# if [ -d "$ENV_PATH" ]; then
-# rm -rf $ENV_PATH
-# echo "Removed the poetry environment at $ENV_PATH."
-# else
-# echo "No poetry environment found."
-# fi
+ ENV_PATH=$(poetry env info --path)
+ if [ -d "$ENV_PATH" ]; then
+ rm -rf $ENV_PATH
+ echo "Removed the poetry environment at $ENV_PATH."
+ else
+ echo "No poetry environment found."
+ fi
-# poetry install
+ poetry install
if [ ! -f .env ]; then
cp .env.example .env
echo "Please add your api keys to the .env file."