summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
AgeCommit message (Collapse)AuthorLines
2024-05-30refactor: adjust default `compress_threshold` to 4000 (#552)sigoden-1/+1
2024-05-29refactor: `temp` session ignore `save_session` (#547)sigoden-2/+2
2024-05-18feat: support function calling (#514)sigoden-12/+40
* 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
2024-05-15fix: no builtin roles if no roles.yaml (#509)sigoden-10/+8
2024-05-14feat: allow binding model to the role (#505)sigoden-14/+43
2024-05-14refactor: config::Input (#503)sigoden-64/+4
2024-05-11refactor: list roles includeing builtin roles (#499)sigoden-7/+10
2024-05-09feat: enhence roles with messages (#495)sigoden-1/+1
2024-05-08refactor: model pass_max_tokens (#493)sigoden-3/+3
2024-05-07feat: support playground/arena webui (#487)sigoden-2/+1
2024-04-30feat: openai-compatible platforms share the same client (#469)sigoden-30/+40
2024-04-30feat: add `.set max_output_tokens` (#468)sigoden-8/+24
2024-04-29feat: `.model` repl completions show max tokens and price (#462)sigoden-22/+29
2024-04-28refactor: minor improvementssigoden-1/+1
- config.example.yaml comments - `--serve` description - No model error
2024-04-28feat: run without config file by set `AICHAT_CLIENT_TYPE` (#452)sigoden-63/+37
2024-04-24feat: support customizing `top_p` parameter (#434)sigoden-0/+32
2024-04-24feat: serve all LLMs as OpenAI-compatible API (#431)sigoden-30/+14
2024-04-23refactor: more async code (#427)sigoden-14/+26
2024-04-20refactor: update description for cli options and config fields (#423)sigoden-22/+0
2024-04-20feat: add `.prompt` repl command (#420)sigoden-0/+5
2024-04-20feat: ctrlc won't exit repl and remove `ctrlc_exit` config (#419)sigoden-3/+0
2024-04-18feat: add config `buffer_editor` (#417)sigoden-12/+18
2024-04-14feat: make built-in roles selectable and rename them (#412)sigoden-27/+3
2024-04-12refactor: hide sytem roles from repl tab-completion (#407)sigoden-1/+6
2024-04-11refactor: `ctrlc_exit` config default to false (#403)sigoden-2/+2
2024-04-09feat: add `ctrlc_exit` option to control REPL exit by ctrl+c (#391)sigoden-0/+3
2024-03-27feat: add repl command `.save session` (#382)sigoden-12/+27
2024-03-27refactor: config add in_repl property (#381)sigoden-10/+9
2024-03-27feat: `save_session` config item can be null (#380)sigoden-37/+63
2024-03-27fix: not dirty session when updating properties (#379)sigoden-3/+9
2024-03-27refactor: seperate temperature from role/session (#378)sigoden-18/+14
2024-03-27feat: add sepereate `save_session` config item to session (#377)sigoden-9/+26
2024-03-27feat: add `save_session` config item and `--save-session` cli option (#370)Patrick Jackson-11/+24
* 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>
2024-03-25refactor: improve creating config for openai-compatible client (#374)sigoden-2/+3
2024-03-22refactor: do not automatically convert temperature value (#368)sigoden-1/+1
2024-03-19fix: color on non-truecolor terminal (#363)sigoden-1/+5
* fix: color on non-truecolor terminal * make ansicolor lower contrast
2024-03-17refactor: remove role field from session struct (#356)sigoden-7/+5
2024-03-10feat: allow use of temporary role in a session (#348)sigoden-7/+11
2024-03-09fix: erratic behaviour when using temp role in a session (#347)sigoden-0/+4
2024-03-07chore: fix typossigoden-1/+1
2024-03-06chore: spell checksigoden-3/+3
2024-03-06refactor: rename model's `max_tokens` to `max_input_tokens` (#339)sigoden-3/+3
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
2024-03-04feat: compress session automaticlly (#333)sigoden-8/+58
* 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-03feat: add `.clear messages` to clear session messages (#332)sigoden-2/+14
2024-03-03chore: improve code quanity on ReplCommand/Statesigoden-2/+41
2024-03-03feat: allow overriding execute/code role (#331)sigoden-4/+10
2024-03-02refactor: auto_copy works when executing command (#328)sigoden-1/+7
2024-03-02feat: add `-c/--code` to generate only code (#327)sigoden-0/+5
2024-02-24refactor: improve prompt error handling (#319)sigoden-16/+6
2024-02-23feat: support `-e/--execute` to execute shell command (#318)sigoden-1/+15