sigoden
71f2e94579
refactor: switch to bitflags State ( #557 )
17 hours ago
sigoden
571d1022f6
refactor: rename some client structs and methods ( #555 )
...
* rename `Completeion*` to `ChatCompletions*`
* rename `send_message*` to `chat_completions*`
* rename `request_builder` to `chat_completions_builder`
* rename `build_body` to `build_chat_completions_body`
* rename `extract_completion` to `extract_chat_completions`
* format
* remove unused config fields
2 days ago
sigoden
54a837784c
refactor: rename `SendData` to `CompletionData` ( #553 )
4 days ago
sigoden
fa4bf14e02
refactor: adjust default `compress_threshold` to 4000 ( #552 )
4 days ago
sigoden
4fa92b020a
refactor: `temp` session ignore `save_session` ( #547 )
5 days ago
sigoden
50b13d2de9
refactor: rename `function_filter` to `function_matcher` ( #535 )
2 weeks ago
sigoden
d16cca23ac
refactor: shell detect/prompt ( #519 )
2 weeks ago
sigoden
b4a40e3fed
feat: support function calling ( #514 )
...
* feat: support function calling
* fix on Windows OS
* implement multi-steps function calling
* fix on Windows OS
* add error for client not support function calling
* refactor message data structure and make claude client supporting function calling
* support reuse previous call results
* improve error handling for function calling
* use prefix `may_` as indicator for `execute` type fucntions
2 weeks ago
sigoden
12d8798e61
fix: no builtin roles if no roles.yaml ( #509 )
3 weeks ago
sigoden
a75aef459d
feat: remove tiktoken ( #506 )
3 weeks ago
sigoden
79d0bba640
feat: allow binding model to the role ( #505 )
3 weeks ago
sigoden
5284a18248
refactor: config::Input ( #503 )
3 weeks ago
sigoden
1e8fc5d269
refactor: list roles includeing builtin roles ( #499 )
3 weeks ago
sigoden
058299e500
refactor: refine detect code block
3 weeks ago
sigoden
bc65e880be
feat: enhence roles with messages ( #495 )
4 weeks ago
sigoden
7762cd6bed
refactor: model pass_max_tokens ( #493 )
4 weeks ago
sigoden
85ad276a29
feat: support playground/arena webui ( #487 )
4 weeks ago
Tatsuya Kyushima
ebad4bb888
chore: fix typos ( #476 )
1 month ago
sigoden
8dba46becf
feat: openai-compatible platforms share the same client ( #469 )
1 month ago
sigoden
8a65337d59
feat: add `.set max_output_tokens` ( #468 )
1 month ago
sigoden
e7fa6c5a20
refactor: improve code quality
1 month ago
sigoden
c752ba9b27
feat: `.model` repl completions show max tokens and price ( #462 )
1 month ago
sigoden
212ff1674e
refactor: minor improvements
...
- config.example.yaml comments
- `--serve` description
- No model error
1 month ago
sigoden
338b0438dc
feat: run without config file by set `AICHAT_CLIENT_TYPE` ( #452 )
1 month ago
sigoden
a17f349daa
feat: support customizing `top_p` parameter ( #434 )
1 month ago
sigoden
0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API ( #431 )
1 month ago
sigoden
1cc89eff51
refactor: more async code ( #427 )
1 month ago
sigoden
8ab57ed74e
refactor: update description for cli options and config fields ( #423 )
1 month ago
sigoden
5d763fc10c
feat: add `.prompt` repl command ( #420 )
1 month ago
sigoden
8b806db857
feat: ctrlc won't exit repl and remove `ctrlc_exit` config ( #419 )
1 month ago
sigoden
b9bde15c1f
feat: add config `buffer_editor` ( #417 )
2 months ago
sigoden
38e594505b
feat: shell commands support revision ( #413 )
2 months ago
sigoden
6dc332930b
feat: make built-in roles selectable and rename them ( #412 )
2 months ago
sigoden
568e9a06db
refactor: hide sytem roles from repl tab-completion ( #407 )
2 months ago
sigoden
4a88a3da04
refactor: `ctrlc_exit` config default to false ( #403 )
2 months ago
sigoden
2738988fc4
feat: add `ctrlc_exit` option to control REPL exit by ctrl+c ( #391 )
2 months ago
sigoden
664ac813aa
refactor: include filepaths if attaching multple text files ( #389 )
2 months ago
sigoden
68a1d98a3d
feat: add repl command `.save session` ( #382 )
2 months ago
sigoden
4cfd6c8e9f
refactor: config add in_repl property ( #381 )
2 months ago
sigoden
bd9a6a8725
feat: `save_session` config item can be null ( #380 )
2 months ago
sigoden
a05c462531
fix: not dirty session when updating properties ( #379 )
2 months ago
sigoden
3180d1d485
refactor: seperate temperature from role/session ( #378 )
2 months ago
sigoden
8da9fa5f4c
feat: add sepereate `save_session` config item to session ( #377 )
2 months ago
Patrick Jackson
582f56e915
feat: add `save_session` config item and `--save-session` cli option ( #370 )
...
* fix: sessions should save when exiting
* feat: improve save sessions
* feat: do not allow saving the temp session name
* feat: allow creating a session without interactive use
* feat: add `save_session` config and `--save-session` option
---------
Co-authored-by: sigoden <sigoden@gmail.com>
2 months ago
sigoden
0ebc7955da
refactor: improve creating config for openai-compatible client ( #374 )
2 months ago
sigoden
527da63d18
refactor: do not automatically convert temperature value ( #368 )
2 months ago
sigoden
7279e43141
fix: color on non-truecolor terminal ( #363 )
...
* fix: color on non-truecolor terminal
* make ansicolor lower contrast
3 months ago
sigoden
f3210d622a
refactor: remove role field from session struct ( #356 )
3 months ago
sigoden
992d570041
refactor: cleanup the deprecated repl commands ( #355 )
3 months ago
sigoden
aed243c3aa
feat: allow use of temporary role in a session ( #348 )
3 months ago