From 8ad35e151984bbc118aed8332471b4d59682b4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Sun, 22 Sep 2024 19:15:16 +0200 Subject: [PATCH] docs: added TODO comment --- gptme/tools/save.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gptme/tools/save.py b/gptme/tools/save.py index 3e6a7d66..b1cad2e0 100644 --- a/gptme/tools/save.py +++ b/gptme/tools/save.py @@ -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()