Commit Graph

155 Commits (4fae3724be574af2e746bfdb525fc2c359f8ba51)
 

Author SHA1 Message Date
sigoden 4fae3724be chore: update readme 11 months ago
sigoden 985f8c0946 chore: improve client-related code quality 11 months ago
sigoden 557bed1459 chore: update Cargo.toml 11 months ago
sigoden 871adab22a chore: improve code quanity 11 months ago
sigoden 7f5bad6474 chore: improve code and doc 11 months ago
sigoden 2ab2e23bb0
refactor: improve environment variables (#163)
Rename `AICHAT_API_KEY` to `OPENAI_API_KEY`
Add `LOCALAI_API_KEY`
11 months ago
sigoden bc44026ff8
feat: enhance session/conversation (#162)
* feat: enhance session/conversation

* updates

* updates

* cut version v0.9.0-rc2

* add .session name completion
11 months ago
sigoden 1575d44172
fix: .copy don't works on some linux distro (#161) 11 months ago
Gaurav Kumar 7298dbc165
chore: update README.md to fix typo (#159) 11 months ago
sigoden aa43612d91
feat: change config.vi_keybindings to config.keybindings (#158) 11 months ago
sigoden 5ce2b9cd8f chore: update readme 11 months ago
sigoden e07f6797e3 chore: update readme 11 months ago
sigoden dbbbbfd5d6 chore: update readme and comments 11 months ago
sigoden d43425e22b
chore: change left-prompt for conversation (#157) 11 months ago
sigoden 0179bef80d
chore: replace atty with is-terminal (#156) 11 months ago
sigoden 2b8b696b5a
chore: update ci to support windows arm (#155) 11 months ago
sigoden 47818159a7
refactor: streaming input text in dry-run mode (#154) 11 months ago
sigoden 2fad63be6a
fix: parse command fails if command following newline (#153) 11 months ago
sigoden ca0f6343f2
feat: add .edit command for multi-line editing (#151) 11 months ago
sigoden b3f8f27018 refactor: improve code quanity 11 months ago
Leo Bergnéhr c3f9ef6c39
feat: add .read command (#145) 11 months ago
sigoden 66fd547c0f refactor: improve code quanity
remove tokio::runtime::Runtime from client
11 months ago
sigoden 7d8564cafb
feat: support multi bots and custom url (#150) 11 months ago
sigoden f4160ff85b
feat: suppport vi keybindings (#148) 11 months ago
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
11 months ago
sigoden e09b39def9 chore: downgrade reedline to v0.21.0
nushell/reedline#648
11 months ago
sigoden 90bdc1b7db chore: update deps 12 months ago
sigoden bbf3672a5f
chore: fix release ci (#138) 1 year ago
sigoden 70e62a4fa7
chore: update ci (#136) 1 year ago
Jackson Goode 30daa40eb0
fix: grammar/wording corrections (#135) 1 year ago
Anthony Rubick 97fc7de675
fix: minor code cleanup and pedantic lints (#134) 1 year ago
sigoden ec51b84290
feat: add new model gpt-3.5-turbo-16k (#126) 1 year ago
sigoden 00ce157571
feat: add `.copy` command (#119) 1 year ago
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>
1 year ago
sigoden 2489e34993
fix: config file with strict perms (#118) 1 year ago
sigoden 439d231e42 chore: trivial updates 1 year ago
sigoden 065a32decb
feat: support backeted paste (#117) 1 year ago
sigoden a7b31d4367 chore: fix typo 1 year ago
sigoden f257931b0b
fix: mask api_key/organization_id in info text (#93) 2 years ago
sigoden c36eab5433 chore: release v0.8.0 2 years ago
sigoden 601a5134d0
feat: add `--dry-run` (#83) 2 years ago
sigoden 19ce62ab76
feat: check token usage in dry_run mode (#82) 2 years ago
sigoden 28f019b72c
feat: add `--info` (#79) 2 years ago
sigoden acddece520
feat: add `config.organization_id` (#77) 2 years ago
sigoden 66a73c7b84
feat: add `config.connect_timeout` (#76) 2 years ago
sigoden 1ef97b2f32
feat: support multiple models (#71) 2 years ago
sigoden 4a74f5cd72 chore: release v0.7.0 2 years ago
sigoden ad04f60365 chore: optimzie role args 2 years ago
sigoden 9c04455e36
feat: support role args (#69)
* feat: support role args

We can use role args to pass some additional arguments to the prompt.

```
- name: convert:json:yaml
  prompt: convert __ARG1__ below to __ARG2__
```

`:json:yaml` is `role args`. It has two args:

- arg1 `json`, it will replace __ARG1__ in prompt
- arg2 `yaml`, it will replace __ARG2__ in prompt

```
〉.role convert:json:yaml
name: convert:json:yaml
prompt: convert json below to yaml
temperature: null

〉.role convert:yaml:json
name: convert:yaml:json
prompt: convert yaml below to json
temperature: null
```

different role args,  will generate different prompts.

* small updates
2 years ago
sigoden 8fa2e2683b
feat: support HTTPS_PROXY and ALL_PROXY (#68) 2 years ago