mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2026-02-10 07:36:11 +01:00
First step in making gpt-engineer learn. Rename main_prompt -> prompt (#381)
* First step in collecting learnings * Rename prompts * remove requirements, use pip install -e . instead * Add requirements * Fix tests
This commit is contained in:
@@ -56,7 +56,7 @@ def main(
|
||||
print("process", bench_folder.name, "finished with code", process.returncode)
|
||||
print("Running it. Original benchmark prompt:")
|
||||
print()
|
||||
with open(bench_folder / "main_prompt") as f:
|
||||
with open(bench_folder / "prompt") as f:
|
||||
print(f.read())
|
||||
print()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ def main():
|
||||
if benchmark.is_dir():
|
||||
print(f"Cleaning {benchmark}")
|
||||
for path in benchmark.iterdir():
|
||||
if path.name == "main_prompt":
|
||||
if path.name in ["prompt", "main_prompt"]:
|
||||
continue
|
||||
|
||||
# Get filename of Path object
|
||||
|
||||
Reference in New Issue
Block a user