Skip to content

Commit

Permalink
fix incorrect path
Browse files Browse the repository at this point in the history
  • Loading branch information
WeetHet committed Sep 24, 2024
1 parent f417a87 commit 64ffc76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion verified_cogen/runners/step_by_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def preprocess(self, prg: str, mode: Mode) -> str:

def rewrite(self, prg: str) -> str:
steps: list[Step] = []
for step in sorted(pathlib.Path("prompts/step_by_step").glob("*.txt")):
for step in sorted((pathlib.Path(self.llm.prompt_dir) / "steps").glob("*.txt")):
steps.append(Step(step.read_text()))
for step in steps:
for substep in step.substeps:
Expand Down

0 comments on commit 64ffc76

Please sign in to comment.