yaicli 0.5.0__py3-none-any.whl → 0.5.2__py3-none-any.whl

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.
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "yaicli"
3
- version = "0.5.0"
3
+ version = "0.5.2"
4
4
  description = "A simple CLI tool to interact with LLM"
5
5
  authors = [{ name = "belingud", email = "im.victor@qq.com" }]
6
6
  readme = "README.md"
yaicli/entry.py CHANGED
@@ -11,7 +11,7 @@ from .role import RoleManager
11
11
 
12
12
  app = typer.Typer(
13
13
  name="yaicli",
14
- help="YAICLI - Your AI assistant in the command line.",
14
+ help="YAICLI - Your AI assistant in command line.",
15
15
  context_settings={"help_option_names": ["-h", "--help"]},
16
16
  pretty_exceptions_enable=False, # Let the CLI handle errors gracefully
17
17
  rich_markup_mode="rich", # Render rich text in help messages
@@ -67,7 +67,6 @@ def main(
67
67
  max_tokens: int = typer.Option( # noqa: F841
68
68
  cfg["MAX_TOKENS"],
69
69
  "--max-tokens",
70
- "-M",
71
70
  help="Specify the max tokens to use.",
72
71
  rich_help_panel="LLM Options",
73
72
  min=1,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yaicli
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: A simple CLI tool to interact with LLM
5
5
  Project-URL: Homepage, https://github.com/belingud/yaicli
6
6
  Project-URL: Repository, https://github.com/belingud/yaicli
@@ -225,7 +225,12 @@ Requires-Dist: socksio>=1.0.0
225
225
  Requires-Dist: typer>=0.15.2
226
226
  Description-Content-Type: text/markdown
227
227
 
228
- # YAICLI: Your AI assistant in the command line.
228
+ # YAICLI: Your AI assistant in command line.
229
+
230
+ <p align="center">
231
+ <img src="artwork/logo.png" width="150" alt="YAICLI Logo" />
232
+ </p>
233
+
229
234
 
230
235
  [![PyPI version](https://img.shields.io/pypi/v/yaicli?style=for-the-badge)](https://pypi.org/project/yaicli/)
231
236
  ![GitHub License](https://img.shields.io/github/license/belingud/yaicli?style=for-the-badge)
@@ -243,6 +248,8 @@ generate and execute shell commands, or get quick answers without leaving your w
243
248
  > [!NOTE]
244
249
  > YAICLI is actively developed. While core functionality is stable, some features may evolve in future releases.
245
250
 
251
+ > We support Function Call since v0.5.0!
252
+
246
253
  ## ✨ Key Features
247
254
 
248
255
  ### 🔄 Multiple Interaction Modes
@@ -1,4 +1,4 @@
1
- pyproject.toml,sha256=-w396zGDRn2FDWOQzsKsi5lCrGe-rpQqCWL06I6EzYU,1596
1
+ pyproject.toml,sha256=PjwUw_lbPkdTRycC_pXD2N9MsyGfqTO0iEWdi0ng0v4,1596
2
2
  yaicli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  yaicli/chat.py,sha256=DeTmOeBPU-oiOAIaDj2h-auJor0GyVVhrViLYF6zGIM,13638
4
4
  yaicli/cli.py,sha256=XY-xfB_kGHeBaNo17iI1OtEuuC2YIGW2WG4k87coX_Y,22502
@@ -6,7 +6,7 @@ yaicli/client.py,sha256=fKUDmn9s7tF9Q2wIB8WhbsjFYIpV0E29t_Vw0qVmVbI,16229
6
6
  yaicli/config.py,sha256=_mp8P6zXyrdp4TzBfHraOCkjv5DMZMOwiEhQnFYWwZA,6321
7
7
  yaicli/console.py,sha256=vARPJd-3lafutsQWrGntQVjLrYqaJD3qisN82pmuhjU,1973
8
8
  yaicli/const.py,sha256=FYW8cNqFzZwnYbgr_HXZSzSS8OIU_UsFIn4SZ0zOJ8U,8129
9
- yaicli/entry.py,sha256=1cd6c_P4stmAtJLhpaSJB-rXTROhmS_kuzX76T93axk,8705
9
+ yaicli/entry.py,sha256=gKzN8Yar3tpBd2Z2a80gD3k0W4Sf3lL7jdyws-2y-H0,8687
10
10
  yaicli/exceptions.py,sha256=WBYg8OTJJzaj7lt6HE7ZyBoe5T6A3yZRNCRfWd4iN0c,372
11
11
  yaicli/history.py,sha256=s-57X9FMsaQHF7XySq1gGH_jpd_cHHTYafYu2ECuG6M,2472
12
12
  yaicli/printer.py,sha256=c6Y5uN5yR7GKGT2OgZyrHCLYThAeu8fNjrhUGig873s,8644
@@ -17,8 +17,8 @@ yaicli/tools.py,sha256=d-5LXbEB-1Uq5VKSgwlAiNDVOGrHkku2DpmZoorq1zw,3098
17
17
  yaicli/utils.py,sha256=bpo3Xhozpxsaci3FtEIKZ32l4ZdyWMsrHjYGX0tB4J4,4541
18
18
  yaicli/functions/__init__.py,sha256=_FJooQ9GkijG8xLwuU0cr5GBrGnC9Nc6bnCeUjrsT0k,1271
19
19
  yaicli/functions/buildin/execute_shell_command.py,sha256=unl1-F8p6QZajeHdA0u5UpURMJM0WhdWMUWCCCHVRcI,1320
20
- yaicli-0.5.0.dist-info/METADATA,sha256=4gqkgfCv4aJFzq6mBTrtgQ8IrNolnRA-ekbRyERarHQ,48657
21
- yaicli-0.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
- yaicli-0.5.0.dist-info/entry_points.txt,sha256=iYVyQP0PJIm9tQnlQheqT435kK_xdGoi5j9aswGV9hA,66
23
- yaicli-0.5.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
24
- yaicli-0.5.0.dist-info/RECORD,,
20
+ yaicli-0.5.2.dist-info/METADATA,sha256=_ZOWtowSpC4Dwy_7iCDBjLXUx1BPFXUI_LOt4ZddoaM,48784
21
+ yaicli-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
+ yaicli-0.5.2.dist-info/entry_points.txt,sha256=iYVyQP0PJIm9tQnlQheqT435kK_xdGoi5j9aswGV9hA,66
23
+ yaicli-0.5.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
24
+ yaicli-0.5.2.dist-info/RECORD,,
File without changes