sigoden
3f693ea060
feat: compress session automaticlly ( #333 )
...
* feat: compress session automaticlly
* non-block
* update field description
* set compress_threshold
* update session::clear_messages
* able to override session compress_threshold
* enable compress_threshold by default
* make session compress_threshold optional
2024-03-04 11:08:59 +08:00
sigoden
e443905dc1
feat: add .clear messages
to clear session messages ( #332 )
2024-03-03 15:25:21 +08:00
sigoden
3c16aff591
feat: add -c/--code
to generate only code ( #327 )
2024-03-02 21:11:28 +08:00
sigoden
d275c33632
chore: move integration scripts
2024-03-02 08:07:06 +00:00
sigoden
6216b40f8c
chore: update model_request issue_template and readme
2024-03-02 07:57:03 +00:00
sigoden
75fe0b9205
feat: support mistral ( #324 )
2024-02-28 08:22:15 +08:00
sigoden
c538533014
feat: support claude ( #278 )
2024-02-27 08:38:19 +08:00
sigoden
c73a0acbbc
chore: update readme
2024-02-26 08:22:37 +00:00
sigoden
05dfdd0b37
chore: update readme
2024-02-26 03:33:50 +00:00
sigoden
ff0ec15e06
feat: add shell integration ( #323 )
2024-02-26 11:28:25 +08:00
sigoden
21d1be5bed
refactor: improve prompt error handling ( #319 )
2024-02-24 19:13:48 +08:00
sigoden
16b7ac071f
chore: update deps and readme
2024-02-23 08:07:56 +00:00
sigoden
7638412128
feat: support -e/--execute
to execute shell command ( #318 )
2024-02-23 13:15:18 +08:00
sigoden
373b34ef5c
feat: edit current prompt on $VISUAL/$EDITOR ( #314 )
2024-02-20 21:31:42 +08:00
sigoden
a30c3cc4c1
feat: add openai.api_base config ( #302 )
2024-01-30 18:28:12 +08:00
sigoden
e198e35a28
chore: update readme to remove pacman installation
2023-12-28 02:13:46 +00:00
sigoden
cb542bef08
chore: update readme
2023-12-27 01:27:59 +00:00
sigoden
860f098082
chore: update readme
2023-12-26 01:10:25 +00:00
sigoden
b4ab5238ae
chore: update deps and readme
2023-12-25 00:26:42 +00:00
sigoden
1c9ca1b002
feat: custom REPL prompt ( #283 )
2023-12-24 16:04:18 +08:00
sigoden
5b001af50d
chore: update readme
2023-12-21 00:03:37 +00:00
sigoden
1bb28665f7
chore: update readme and deps
2023-12-20 23:21:17 +00:00
sigoden
64c4edf7c8
feat: support ollama ( #276 )
2023-12-20 07:49:05 +08:00
sigoden
6fb13359f4
feat: abandon PaLM2 ( #274 )
2023-12-19 20:47:15 +08:00
sigoden
6286251d32
feat: support gemini ( #273 )
2023-12-19 20:37:53 +08:00
sigoden
eb8a150539
chore: improve readme
2023-11-28 11:59:02 +08:00
sigoden
0afef991f9
chore: update cli description and readme
2023-11-27 18:02:52 +08:00
sigoden
35c75506e2
feat: support vision ( #249 )
...
* feat: support vision
* clippy
* implement vision
* resolve data url to local file
* add model openai:gpt-4-vision-preview
* use newline to concate embeded text files
* set max_tokens for gpt-4-vision-preview
2023-11-27 14:04:50 +08:00
sigoden
542dcfe6f6
feat: extend .read
to support files and messages ( #242 )
2023-11-13 19:53:24 +08:00
sigoden
15efa17963
refactor: use ::: as multipline input indicator, deprecate """ ( #232 )
2023-11-08 11:19:45 +08:00
sigoden
e8461b8462
refactor: output info includes auto_copy and light_theme ( #230 )
2023-11-08 07:08:48 +08:00
sigoden
c99bd015aa
feat: temporarily use a role to send a message ( #227 )
2023-11-07 23:07:42 +08:00
sigoden
b07a112f89
feat: deprecate .edit
, use """ instead ( #225 )
2023-11-07 21:45:36 +08:00
sigoden
6bb2ec05be
feat: add config.prelude
to allow setting default role/session ( #224 )
2023-11-07 19:14:58 +08:00
sigoden
7627771e2d
feat: support Qianwen ( #211 )
2023-11-04 09:51:01 +08:00
sigoden
ec1f99fbf5
feat: support Ernie ( #210 )
2023-11-04 08:54:40 +08:00
sigoden
bba5028615
feat: support PaLM ( #209 )
2023-11-04 08:11:51 +08:00
sigoden
b34e40e25f
refactor: rename azure-openai to azure ( #204 )
2023-11-03 09:56:15 +08:00
sigoden
eff69a482d
feat: add .set auto_copy
( #200 )
2023-11-02 16:08:11 +08:00
sigoden
f6da06dad9
refactor: improve code quanity ( #194 )
...
- extends ModelInfo for tokens calculating
- refactor config/session.rs, improve export, render, getter/setter
- modify main.rs, allow --model override session.model
2023-11-01 22:15:55 +08:00
sigoden
64202758ec
chore: move split_line_* from repl/cmd.rs to utils/ ( #190 )
2023-10-31 18:34:38 +08:00
sigoden
bd3fc8e657
chore: refactor config description
2023-10-31 17:34:16 +08:00
sigoden
a137483b03
feat: improve client ( #189 )
2023-10-31 16:50:08 +08:00
sigoden
36380475d5
feat: support azure-openai ( #166 )
2023-10-31 06:36:52 +08:00
sigoden
54cfac427d
chore: add demo config.yaml
2023-10-30 19:52:51 +08:00
sigoden
d2e06bf716
chore: update readme
2023-10-30 19:30:28 +08:00
sigoden
e86ad7dc16
feat: add .info role
and .info session
( #183 )
2023-10-30 19:26:06 +08:00
sigoden
4909a20f2e
feat: force nowrap if no tty/terminal ( #182 )
2023-10-30 17:28:10 +08:00
sigoden
2203163938
chore: update readme and cli help
2023-10-30 17:10:52 +08:00
sigoden
2168610dbd
chore: spellcheck
2023-10-30 15:08:49 +08:00
sigoden
23e9fb5bbf
feat: deprecate .clear command ( #180 )
2023-10-30 14:17:15 +08:00
sigoden
ba3cc4f15d
feat: deprecate history file ( #179 )
2023-10-30 13:36:08 +08:00
sigoden
b3e6879438
feat: deprecate prompt, remove --prompt
and .prompt
( #176 )
2023-10-30 10:36:08 +08:00
Ajay Gonepuri (GONAPCORP)
49595053f0
chore: fix typo ( #170 )
2023-10-30 10:19:15 +08:00
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
2023-10-30 10:07:01 +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
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
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
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
Jackson Goode
30daa40eb0
fix: grammar/wording corrections ( #135 )
2023-07-10 11:17:42 +08:00
sigoden
ec51b84290
feat: add new model gpt-3.5-turbo-16k ( #126 )
2023-06-19 08:44:26 +08:00
sigoden
439d231e42
chore: trivial updates
2023-05-04 16:07:50 +08:00
sigoden
c36eab5433
chore: release v0.8.0
2023-03-21 09:45:48 +08:00
sigoden
4a74f5cd72
chore: release v0.7.0
2023-03-13 10:26:33 +08:00
sigoden
52de7ec33a
chore: fix some typos
2023-03-10 14:51:15 +08:00
sigoden
cd10a636ad
chore: update readme
2023-03-10 11:50:17 +08:00
sigoden
f1e65def96
chore: release v0.6.0
2023-03-10 10:27:24 +08:00
sigoden
ebd3cb2401
chore: update readme
2023-03-09 07:04:12 +08:00
sigoden
7270308a24
chore: release v0.5.0
2023-03-08 21:35:21 +08:00
sigoden
6e389d794e
chore: update tool description
2023-03-06 13:37:34 +08:00
sigoden
0874cecba8
chore: update readme
2023-03-06 13:00:43 +08:00
sigoden
281e15cbd1
chore: release v0.4.0 really
2023-03-06 10:57:09 +08:00
sigoden
ffa444399f
chore: release v0.4.0
2023-03-06 10:34:07 +08:00
sigoden
2ac0155fa3
feat: accept pipe ( #17 )
...
`cat data | aichat` works
2023-03-05 11:11:15 +08:00
sigoden
598c31c3d9
refactor: optimize role prompt ( #13 )
2023-03-05 07:52:36 +08:00
sigoden
7a60a36367
feat: add .info
command ( #11 )
2023-03-05 05:50:30 +08:00
sigoden
069583098f
refactor: no need tui, just render stream directly ( #8 )
2023-03-04 22:18:42 +08:00
Marcus Ziadé
afe3f23831
chore: update README.md ( #7 )
2023-03-04 21:43:29 +08:00
sigoden
6dee235597
chore: release v0.2.0
2023-03-04 19:24:57 +08:00
sigoden
dbdb2ed125
refactor: replace config.highlight with config.no_highlight ( #4 )
...
* refactor: replace config.highlight with config.no_highlight
* update readme
2023-03-04 09:22:55 +08:00
sigoden
0fa1ae215a
feat: support highlight reply markdown ( #3 )
...
* feat: support highlight reply markdown
* migrate markdown highlighter from termimad to mdcat
* optimize render
No need to clear screen when there is no newline in reply token
* handle ctrl-c when rendering stream
* update readme
* fix ctrlc don't abort acquire_stream when establish connection
* ensure render_stream's dtect_ctrlc is exit before next readline
This will make reedline don't throw err 'The cursor position could not be read within a normal duration'
2023-03-04 09:02:57 +08:00
sigoden
2e511c1327
chore: optimize config path
2023-03-03 12:43:34 +08:00
sigoden
1cde32160b
chore: update readme
2023-03-03 11:44:23 +08:00
sigoden
2ea37fc814
chore: update readme
2023-03-03 10:34:02 +08:00
sigoden
627a2d08ce
refactor: config path and config data
...
use yaml other than toml for configuration.
use $AICHAT_CONFIG_DIR other than $HOME for config dir.
split roles to seperate config file
2023-03-03 10:11:23 +08:00
sigoden
9e8a5481cf
feat: support save chat messages to file
2023-03-03 09:15:58 +08:00
sigoden
b516080a66
chore: update readme
2023-03-03 08:34:15 +08:00
sigoden
9343f96198
chore: add readme
2023-03-03 08:28:46 +08:00