summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock30
-rw-r--r--Cargo.toml2
-rw-r--r--README.md13
3 files changed, 18 insertions, 27 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 9b08130..fd25eff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -28,7 +28,7 @@ dependencies = [
[[package]]
name = "aichat"
-version = "0.15.0"
+version = "0.16.0"
dependencies = [
"ansi_colours",
"anyhow",
@@ -143,9 +143,9 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.81"
+version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247"
+checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519"
[[package]]
name = "arboard"
@@ -275,9 +275,9 @@ dependencies = [
[[package]]
name = "bumpalo"
-version = "3.15.4"
+version = "3.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa"
+checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
[[package]]
name = "bytemuck"
@@ -299,9 +299,9 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
[[package]]
name = "cc"
-version = "1.0.91"
+version = "1.0.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd97381a8cc6493395a5afc4c691c1084b3768db713b73aa215217aa245d153"
+checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41"
[[package]]
name = "cfg-if"
@@ -816,9 +816,9 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.2.13"
+version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a06fddc2749e0528d2813f95e050e87e52c8cbbae56223b9babf73b3e53b0cc6"
+checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c"
dependencies = [
"cfg-if",
"libc",
@@ -1448,9 +1448,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.35"
+version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
+checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
dependencies = [
"proc-macro2",
]
@@ -2036,9 +2036,9 @@ dependencies = [
[[package]]
name = "time"
-version = "0.3.34"
+version = "0.3.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
+checksum = "ef89ece63debf11bc32d1ed8d078ac870cbeb44da02afb02a9ff135ae7ca0582"
dependencies = [
"deranged",
"itoa",
@@ -2059,9 +2059,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
[[package]]
name = "time-macros"
-version = "0.2.17"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
"num-conv",
"time-core",
diff --git a/Cargo.toml b/Cargo.toml
index 98463f5..f4f2d61 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "aichat"
-version = "0.15.0"
+version = "0.16.0"
edition = "2021"
authors = ["sigoden <sigoden@gmail.com>"]
description = "All-in-one chat and copilot CLI that integrates 10+ AI platforms"
diff --git a/README.md b/README.md
index 8844bd7..ea08c8c 100644
--- a/README.md
+++ b/README.md
@@ -156,7 +156,7 @@ aichat -s session1 --info # Session info
cat data.toml | aichat -c to json > data.json # Pipe stdio/stdout
-aicaht -f data.toml -c to json > data.json # Attach files
+aichat -f data.toml -c to json > data.json # Attach files
aichat -f a.png -f b.png diff images # Attach images
```
@@ -420,7 +420,7 @@ For example, we can define a role:
Do not provide explanations.
```
-Let ChatGPT answer questions in the role of a Linux shell expert.
+Let LLM answer questions in the role of a Linux shell expert.
```
> .role shell
@@ -430,15 +430,6 @@ mkdir /tmp/app
unzip -P PASSWORD app.zip -d /tmp/app
```
-Aichat with roles will be a universal tool.
-
-```
-$ aichat --role shell -c extract encrypted zipfile app.zip to /tmp/app
-unzip -P password app.zip -d /tmp/app
-
-$ cat README.md | aichat --role spellcheck
-```
-
For more details about roles, please visit [Role Guide](https://github.com/sigoden/aichat/wiki/Role-Guide).
## License