Dont require to be in the same folder as the repo to run, v0.0.5

This commit is contained in:
Anton Osika
2023-06-22 10:42:35 +02:00
parent 22c2e76026
commit ed1a7da296
13 changed files with 24 additions and 16 deletions

View File

@@ -1,6 +1,5 @@
import json
import logging
import os
import shutil
from pathlib import Path
@@ -54,7 +53,7 @@ def main(
logs=DB(memory_path / "logs"),
input=DB(input_path),
workspace=DB(workspace_path),
identity=DB(Path(os.path.curdir) / "identity"),
preprompts=DB(Path(__file__).parent / "preprompts"),
)
for step in STEPS[steps_config]: