Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion ape_linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()}
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.