summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
AgeCommit message (Collapse)AuthorLines
2024-06-13feat: add rag and bot related cli options (#595)sigoden-4/+20
2024-06-13feat: add `.starter` repl command (#594)sigoden-1/+17
2024-06-12refactor: 'temp' can not be used as name of saved session (#591)sigoden-1/+1
2024-06-12refactor: bot session shouldn't use non-bot last message (#590)sigoden-19/+21
2024-06-12refactor: bot dir/file path (#589)sigoden-11/+8
2024-06-12refactor: rename `selected_functions` to `functions_filter` (#587)sigoden-7/+7
2024-06-11feat: add config `repl_prelude` and `bot_prelude` (#584)sigoden-11/+25
2024-06-11refactor: rename `function_matcher` to `selected_functions` (#583)sigoden-4/+4
2024-06-11feat: add config `dangerously_functions` (#582)sigoden-5/+25
2024-06-11refactor: adjust config methods order (#581)sigoden-293/+289
2024-06-11feat: support bot (#579)sigoden-137/+304
* feat: support bots * refactor with RoleLike * improve exiting session * make bot works with rag * refactor repl assert state * add bot banner * repl complete bots according bots.txt * fix on windows * remove threadpool executing function callings * adjust repl left_prompt * move bot config to global config.yaml * `.bot` throw err if funciton callings is not configured
2024-06-06refactor: global IS_STDOUT_TERMINAL (#571)sigoden-5/+4
2024-06-06refactor: config refinement (#570)sigoden-38/+16
2024-06-05feat: custom more path to file/dirs with environment variables (#565)sigoden-10/+24
2024-06-05feat: support RAG (#560)sigoden-30/+155
* feat: support RAG * support more embeddings models and implement concurrent embedding api * show the progress of addings paths * ignore embedding context when saving message * embedding model max_chunk_size => default_chunk_size * support pdf and pandoc formats (docx, epub, ipynb)
2024-06-02refactor: switch to bitflags State (#557)sigoden-62/+23
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