ape-linux 0.2.0__tar.gz → 0.2.1__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.1
2
2
  Name: ape-linux
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: AI for Linux commands
5
5
  Home-page: https://github.com/sbalian/ape
6
6
  License: MIT
@@ -11,7 +11,9 @@ import typer
11
11
  app = typer.Typer(add_completion=False, pretty_exceptions_enable=False)
12
12
 
13
13
 
14
- def call_llm(api_key: str, model: str, system_prompt: str, user_prompt: str):
14
+ def call_llm(
15
+ api_key: str, model: str, system_prompt: str, user_prompt: str
16
+ ) -> str | None:
15
17
  return (
16
18
  openai.OpenAI(api_key=api_key)
17
19
  .chat.completions.create(
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ape-linux"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "AI for Linux commands"
5
5
  license = "MIT"
6
6
  authors = ["Seto Balian <seto.balian@gmail.com>"]
File without changes
File without changes