From 41594c578a226718f0f169b5df8fbc361809c9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Fri, 15 Nov 2024 13:55:03 +0100 Subject: [PATCH] fix: mention paths being relative to working dir in prompt for save tool --- gptme/tools/save.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gptme/tools/save.py b/gptme/tools/save.py index bd00187b..b095899c 100644 --- a/gptme/tools/save.py +++ b/gptme/tools/save.py @@ -13,6 +13,9 @@ # FIXME: this is markdown-specific instructions, thus will confuse the XML mode instructions = """ To write to a file, use a code block with the language tag: `save ` + +The path can be relative to the current directory, or absolute. +If the current directory changes, the path will be relative to the new directory. """.strip() instructions_append = """