ape-linux 0.3.1__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ape-linux
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: AI for Linux commands
5
5
  Project-URL: Homepage, https://github.com/sbalian/ape
6
6
  Project-URL: Repository, https://github.com/sbalian/ape
@@ -96,7 +96,19 @@ def main(
96
96
  Answer: echo "Please try again."
97
97
 
98
98
  Question: Tell me a story
99
- Answer: echo "Please try again.\"""" # noqa: E501
99
+ Answer: echo "Please try again.
100
+
101
+ It is important that you do not output commands enclosed in ``` ``` Markdown blocks. For example,
102
+
103
+ ```sh
104
+ cd projects
105
+ ls
106
+ ```
107
+
108
+ 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
109
+
110
+ You are also allowed to use \\ for command continuation.
111
+ \"""" # noqa: E501
100
112
 
101
113
  user_prompt = f"""\
102
114
  Question: {query.strip()}
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ape-linux"
3
- version = "0.3.1"
3
+ version = "0.3.2"
4
4
  description = "AI for Linux commands"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT License"}
@@ -28,7 +28,7 @@ wheels = [
28
28
 
29
29
  [[package]]
30
30
  name = "ape-linux"
31
- version = "0.3.0"
31
+ version = "0.3.1"
32
32
  source = { editable = "." }
33
33
  dependencies = [
34
34
  { name = "openai" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes