Skip to content

Commit

Permalink
Merge branch 'seanchatmangpt:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
hjvogel authored Jun 28, 2024
2 parents 6bec2d2 + 9547e10 commit 3d13bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dspygen/subcommands/module_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ def new_module(

file_name = f"{inflection.underscore(class_name)}_module.py"

with open(dspy_modules_dir() / file_name, "w") as file:
with open(file_name, "w") as file:
file.write(source)

print(source)

print(f"Module saved to {dspy_modules_dir() / file_name}")
print(f"Module saved to {file_name}")


def load_commands(directory: str = "modules"):
Expand Down

0 comments on commit 3d13bd1

Please sign in to comment.