sigoden
da3c541b68
refactor: add/use openai_compatible_client macro
11 months ago
sigoden
8d76fc77fb
refactor: use reqwest-eventsource as sse client
11 months ago
sigoden
7f2210dbca
refactor: clients/* and config.rs ( #193 )
...
- add register_clients macro to make it easier to add a new client
- no create_client_config, just add const PROMPTS
- move ModelInfo from clients/ to config/
- model's max_tokens are optional
- improve code quanity on config/mod.rs
- add/use macro config_get_fn
11 months ago
sigoden
64202758ec
chore: move split_line_* from repl/cmd.rs to utils/ ( #190 )
11 months ago
sigoden
bd3fc8e657
chore: refactor config description
11 months ago
sigoden
a137483b03
feat: improve client ( #189 )
11 months ago
sigoden
9b614600c6
fix: uncorrected render in command mode ( #188 )
11 months ago
sigoden
680670e834
feat: support custom theme ( #187 )
11 months ago
sigoden
84004fd576
feat: support OPENAI_API_BASE ( #186 )
11 months ago
sigoden
36380475d5
feat: support azure-openai ( #166 )
11 months ago
sigoden
86fd9d207e
fix: no last newline in reply text on windows os ( #185 )
11 months ago
sigoden
eb023e5759
chore: rename config.yaml to config.example.yaml
11 months ago
sigoden
54cfac427d
chore: add demo `config.yaml`
11 months ago
sigoden
d2e06bf716
chore: update readme
11 months ago
sigoden
e86ad7dc16
feat: add `.info role` and `.info session` ( #183 )
11 months ago
sigoden
42339fac42
chore: add issue templates
11 months ago
sigoden
4909a20f2e
feat: force nowrap if no tty/terminal ( #182 )
11 months ago
sigoden
2203163938
chore: update readme and cli help
11 months ago
sigoden
5c0383f908
fix: dry run on role or session ( #181 )
11 months ago
sigoden
2168610dbd
chore: spellcheck
11 months ago
sigoden
23e9fb5bbf
feat: deprecate .clear command ( #180 )
11 months ago
sigoden
ba3cc4f15d
feat: deprecate history file ( #179 )
11 months ago
sigoden
2f9121e515
fix: bugs between sesison/role ( #178 )
11 months ago
sigoden
f2c9f00bda
fix: detect light theme only by env var ( #177 )
11 months ago
sigoden
b3e6879438
feat: deprecate prompt, remove `--prompt` and `.prompt` ( #176 )
11 months ago
sigoden
44ea384ee5
chore: remove unnecessary clippy macros
11 months ago
Ajay Gonepuri (GONAPCORP)
49595053f0
chore: fix typo ( #170 )
11 months ago
sigoden
651516d49a
feat: show role info with `--role <name> --info` ( #175 )
11 months ago
sigoden
b276dfedd2
feat: support textwrap ( #171 )
...
* feat: support textwrap
* improve cmd_render_stream
* done cmd_render_stream
* add `-w` alias to `--wrap`
* done repl_render_stream
* add `config.wrap_code`
* remove cached config.wrap_width
* fix unxpected duplicate lines on kitty
* refactor markdown render
* improve render
* fix test
11 months ago
sigoden
632a6fcc0b
feat: add `--light-theme` option ( #169 )
11 months ago
sigoden
1ced15a209
feat: autodetect light theme on unix-like os ( #168 )
11 months ago
sigoden
10b1d4b4de
fix: unexpcted duplicate lines in kitty ( #167 )
11 months ago
sigoden
33a9aacf39
chore: update readme
11 months ago
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