mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
Small clarifications
This commit is contained in:
@@ -151,6 +151,12 @@ def execute_entrypoint(ai, dbs):
|
|||||||
print("Ok, not executing the code.")
|
print("Ok, not executing the code.")
|
||||||
return []
|
return []
|
||||||
print("Executing the code...")
|
print("Executing the code...")
|
||||||
|
print(
|
||||||
|
"\033[92m" # green color
|
||||||
|
+ "Note: If it does not work as expected, please consider running the code'"
|
||||||
|
+ " in another way than above."
|
||||||
|
+ "\033[0m"
|
||||||
|
)
|
||||||
print()
|
print()
|
||||||
subprocess.run("bash run.sh", shell=True, cwd=dbs.workspace.path)
|
subprocess.run("bash run.sh", shell=True, cwd=dbs.workspace.path)
|
||||||
return []
|
return []
|
||||||
@@ -167,6 +173,8 @@ def gen_entrypoint(ai, dbs):
|
|||||||
"b) run all necessary parts of the codebase (in parallell if necessary).\n"
|
"b) run all necessary parts of the codebase (in parallell if necessary).\n"
|
||||||
"Do not install globally. Do not use sudo.\n"
|
"Do not install globally. Do not use sudo.\n"
|
||||||
"Do not explain the code, just give the commands.\n"
|
"Do not explain the code, just give the commands.\n"
|
||||||
|
"Do not use placeholders, use example values (like . for a folder argument) "
|
||||||
|
"if necessary.\n"
|
||||||
),
|
),
|
||||||
user="Information about the codebase:\n\n" + dbs.workspace["all_output.txt"],
|
user="Information about the codebase:\n\n" + dbs.workspace["all_output.txt"],
|
||||||
)
|
)
|
||||||
@@ -260,3 +268,4 @@ STEPS = {
|
|||||||
|
|
||||||
# Future steps that can be added:
|
# Future steps that can be added:
|
||||||
# run_tests_and_fix_files
|
# run_tests_and_fix_files
|
||||||
|
# execute_entrypoint_and_fix_files_if_needed
|
||||||
|
|||||||
Reference in New Issue
Block a user