Skip to content

Commit

Permalink
docs: added TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 22, 2024
1 parent 1158d95 commit 8ad35e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gptme/tools/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def execute_save(
if not code.endswith("\n"):
code += "\n"

# TODO: add check that it doesn't try to write a file with placeholders!

if ask:
confirm = ask_execute(f"Save to {fn}?")
print()
Expand Down

0 comments on commit 8ad35e1

Please sign in to comment.