Commit Graph

157 Commits

Author SHA1 Message Date
sigoden
10b1d4b4de
fix: unexpcted duplicate lines in kitty (#167) 2023-10-29 12:52:04 +08:00
sigoden
33a9aacf39 chore: update readme 2023-10-29 10:48:19 +08:00
sigoden
4fae3724be chore: update readme 2023-10-29 10:44:30 +08:00
sigoden
985f8c0946 chore: improve client-related code quality 2023-10-29 10:09:33 +08:00
sigoden
557bed1459 chore: update Cargo.toml 2023-10-29 08:13:46 +08:00
sigoden
871adab22a chore: improve code quanity 2023-10-29 07:01:13 +08:00
sigoden
7f5bad6474 chore: improve code and doc 2023-10-28 22:22:37 +08:00
sigoden
2ab2e23bb0
refactor: improve environment variables (#163)
Rename `AICHAT_API_KEY` to `OPENAI_API_KEY`
Add `LOCALAI_API_KEY`
2023-10-28 22:10:17 +08:00
sigoden
bc44026ff8
feat: enhance session/conversation (#162)
* feat: enhance session/conversation

* updates

* updates

* cut version v0.9.0-rc2

* add .session name completion
2023-10-28 21:39:17 +08:00
sigoden
1575d44172
fix: .copy don't works on some linux distro (#161) 2023-10-27 23:45:26 +08:00
Gaurav Kumar
7298dbc165
chore: update README.md to fix typo (#159) 2023-10-27 22:00:28 +08:00
sigoden
aa43612d91
feat: change config.vi_keybindings to config.keybindings (#158) 2023-10-27 21:22:24 +08:00
sigoden
5ce2b9cd8f chore: update readme 2023-10-27 19:01:22 +08:00
sigoden
e07f6797e3 chore: update readme 2023-10-27 18:53:37 +08:00
sigoden
dbbbbfd5d6 chore: update readme and comments 2023-10-27 18:44:27 +08:00
sigoden
d43425e22b
chore: change left-prompt for conversation (#157) 2023-10-27 17:55:17 +08:00
sigoden
0179bef80d
chore: replace atty with is-terminal (#156) 2023-10-27 14:42:08 +08:00
sigoden
2b8b696b5a
chore: update ci to support windows arm (#155) 2023-10-27 14:26:46 +08:00
sigoden
47818159a7
refactor: streaming input text in dry-run mode (#154) 2023-10-27 09:33:34 +08:00
sigoden
2fad63be6a
fix: parse command fails if command following newline (#153) 2023-10-27 08:00:06 +08:00
sigoden
ca0f6343f2
feat: add .edit command for multi-line editing (#151) 2023-10-26 21:12:02 +08:00
sigoden
b3f8f27018 refactor: improve code quanity 2023-10-26 19:28:57 +08:00
Leo Bergnéhr
c3f9ef6c39
feat: add .read command (#145) 2023-10-26 19:25:53 +08:00
sigoden
66fd547c0f refactor: improve code quanity
remove tokio::runtime::Runtime from client
2023-10-26 19:19:22 +08:00
sigoden
7d8564cafb
feat: support multi bots and custom url (#150) 2023-10-26 16:42:54 +08:00
sigoden
f4160ff85b
feat: suppport vi keybindings (#148) 2023-10-24 19:28:16 +08:00
sigoden
b5e1460151
feat: use backslash at end of line for multiline text (#147)
BREAKING CHANGE: use backslash at end of line for multiline text

```
〉.set dry_run true

〉abc \
def \
ijk

>>> The following message consumes 12 tokens.
abc 
def 
ijk
```

Deprecate old {}/() multi-line editing
2023-10-24 17:45:49 +08:00
sigoden
e09b39def9 chore: downgrade reedline to v0.21.0
nushell/reedline#648
2023-10-24 16:24:03 +08:00
sigoden
90bdc1b7db chore: update deps 2023-10-17 19:37:36 +08:00
sigoden
bbf3672a5f
chore: fix release ci (#138) 2023-07-15 16:14:30 +08:00
sigoden
70e62a4fa7
chore: update ci (#136) 2023-07-10 11:33:38 +08:00
Jackson Goode
30daa40eb0
fix: grammar/wording corrections (#135) 2023-07-10 11:17:42 +08:00
Anthony Rubick
97fc7de675
fix: minor code cleanup and pedantic lints (#134) 2023-07-10 11:07:09 +08:00
sigoden
ec51b84290
feat: add new model gpt-3.5-turbo-16k (#126) 2023-06-19 08:44:26 +08:00
sigoden
00ce157571
feat: add .copy command (#119) 2023-05-04 22:42:50 +08:00
shane s
cf03952c7b
feat: add config.auto_copy (#102)
* added config option to copy all ChatGPT output to clipboard

* formatted with

* updates

---------

Co-authored-by: sigoden <sigoden@gmail.com>
2023-05-04 21:22:12 +08:00
sigoden
2489e34993
fix: config file with strict perms (#118) 2023-05-04 16:29:34 +08:00
sigoden
439d231e42 chore: trivial updates 2023-05-04 16:07:50 +08:00
sigoden
065a32decb
feat: support backeted paste (#117) 2023-05-04 15:43:34 +08:00
sigoden
a7b31d4367 chore: fix typo 2023-04-26 08:30:53 +08:00
sigoden
f257931b0b
fix: mask api_key/organization_id in info text (#93) 2023-03-22 21:02:09 +08:00
sigoden
c36eab5433 chore: release v0.8.0 2023-03-21 09:45:48 +08:00
sigoden
601a5134d0
feat: add --dry-run (#83) 2023-03-20 23:20:48 +08:00
sigoden
19ce62ab76
feat: check token usage in dry_run mode (#82) 2023-03-20 22:51:51 +08:00
sigoden
28f019b72c
feat: add --info (#79) 2023-03-20 16:51:06 +08:00
sigoden
acddece520
feat: add config.organization_id (#77) 2023-03-17 15:09:06 +08:00
sigoden
66a73c7b84
feat: add config.connect_timeout (#76) 2023-03-16 17:11:25 +08:00
sigoden
1ef97b2f32
feat: support multiple models (#71) 2023-03-16 17:02:09 +08:00
sigoden
4a74f5cd72 chore: release v0.7.0 2023-03-13 10:26:33 +08:00
sigoden
ad04f60365 chore: optimzie role args 2023-03-13 10:13:50 +08:00