mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Merge branch 'master' of https://github.com/Torantulino/Auto-GPT
This commit is contained in:
@@ -57,7 +57,7 @@ Your support is greatly appreciated
|
|||||||
- 🗃️ File storage and summarization with GPT-3.5
|
- 🗃️ File storage and summarization with GPT-3.5
|
||||||
|
|
||||||
## 📋 Requirements
|
## 📋 Requirements
|
||||||
- [Python 3.7 or later](https://www.tutorialspoint.com/how-to-install-python-in-windows)
|
- [Python 3.8 or later](https://www.tutorialspoint.com/how-to-install-python-in-windows)
|
||||||
- OpenAI API key
|
- OpenAI API key
|
||||||
- PINECONE API key
|
- PINECONE API key
|
||||||
|
|
||||||
@@ -149,6 +149,7 @@ Run:
|
|||||||
```
|
```
|
||||||
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
|
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
|
||||||
```
|
```
|
||||||
|
See https://hub.docker.com/r/redis/redis-stack-server for setting a password and additional configuration.
|
||||||
|
|
||||||
Set the following environment variables:
|
Set the following environment variables:
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ COMMANDS:
|
|||||||
12. Append to file: "append_to_file", args: "file": "<file>", "text": "<text>"
|
12. Append to file: "append_to_file", args: "file": "<file>", "text": "<text>"
|
||||||
13. Delete file: "delete_file", args: "file": "<file>"
|
13. Delete file: "delete_file", args: "file": "<file>"
|
||||||
14. Search Files: "search_files", args: "directory": "<directory>"
|
14. Search Files: "search_files", args: "directory": "<directory>"
|
||||||
15. Evaluate Code: "evaluate_code", args: "code": "<full _code_string>"
|
15. Evaluate Code: "evaluate_code", args: "code": "<full_code_string>"
|
||||||
16. Get Improved Code: "improve_code", args: "suggestions": "<list_of_suggestions>", "code": "<full_code_string>"
|
16. Get Improved Code: "improve_code", args: "suggestions": "<list_of_suggestions>", "code": "<full_code_string>"
|
||||||
17. Write Tests: "write_tests", args: "code": "<full_code_string>", "focus": "<list_of_focus_areas>"
|
17. Write Tests: "write_tests", args: "code": "<full_code_string>", "focus": "<list_of_focus_areas>"
|
||||||
18. Execute Python File: "execute_python_file", args: "file": "<file>"
|
18. Execute Python File: "execute_python_file", args: "file": "<file>"
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ while True:
|
|||||||
f"COMMAND = {Fore.CYAN}{command_name}{Style.RESET_ALL} ARGUMENTS = {Fore.CYAN}{arguments}{Style.RESET_ALL}")
|
f"COMMAND = {Fore.CYAN}{command_name}{Style.RESET_ALL} ARGUMENTS = {Fore.CYAN}{arguments}{Style.RESET_ALL}")
|
||||||
|
|
||||||
# Execute command
|
# Execute command
|
||||||
if command_name.lower() == "error":
|
if command_name.lower().startswith( "error" ):
|
||||||
result = f"Command {command_name} threw the following error: " + arguments
|
result = f"Command {command_name} threw the following error: " + arguments
|
||||||
elif command_name == "human_feedback":
|
elif command_name == "human_feedback":
|
||||||
result = f"Human feedback: {user_input}"
|
result = f"Human feedback: {user_input}"
|
||||||
|
|||||||
Reference in New Issue
Block a user