diff --git a/ape_linux.py b/ape_linux.py index 25ddadf..fc0adcf 100644 --- a/ape_linux.py +++ b/ape_linux.py @@ -96,7 +96,19 @@ def main( Answer: echo "Please try again." Question: Tell me a story - Answer: echo "Please try again.\"""" # noqa: E501 + Answer: echo "Please try again. + + It is important that you do not output commands enclosed in ``` ``` Markdown blocks. For example, + + ```sh + cd projects + ls + ``` + + is not allowed. Instead, your output should be a command that is to be entered directly into the command line. For the example above: cd projects && ls + + You are also allowed to use \\ for command continuation. + \"""" # noqa: E501 user_prompt = f"""\ Question: {query.strip()} diff --git a/uv.lock b/uv.lock index 686ba7f..29730db 100644 --- a/uv.lock +++ b/uv.lock @@ -28,7 +28,7 @@ wheels = [ [[package]] name = "ape-linux" -version = "0.3.0" +version = "0.3.1" source = { editable = "." } dependencies = [ { name = "openai" },