mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
Renames FOLDER to SRC_DIR
This commit is contained in:
committed by
GitHub
parent
4c66cd6f4a
commit
6d86444b6f
@@ -6,7 +6,7 @@ SRC_DIR = Path(__file__).parent
|
||||
def load_prompt():
|
||||
try:
|
||||
# Load the promt from data/prompt.txt
|
||||
with open(FOLDER / "data/prompt.txt", "r") as prompt_file:
|
||||
with open(SRC_DIR/ "data/prompt.txt", "r") as prompt_file:
|
||||
prompt = prompt_file.read()
|
||||
|
||||
return prompt
|
||||
|
||||
Reference in New Issue
Block a user