summaryrefslogtreecommitdiffstats
path: root/src/config
AgeCommit message (Collapse)AuthorLines
2024-03-27fix: not dirty session when updating properties (#379)sigoden-9/+28
2024-03-27refactor: seperate temperature from role/session (#378)sigoden-18/+18
2024-03-27feat: add sepereate `save_session` config item to session (#377)sigoden-14/+45
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-2/+2
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-25/+9
2024-03-17refactor: cleanup the deprecated repl commands (#355)sigoden-1/+1
2024-03-10feat: allow use of temporary role in a session (#348)sigoden-9/+55
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-07feat: add nushell integration (#344)sigoden-5/+12
2024-03-06chore: spell checksigoden-3/+3
2024-03-06refactor: rename model's `max_tokens` to `max_input_tokens` (#339)sigoden-10/+10
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
2024-03-04feat: compress session automaticlly (#333)sigoden-22/+103
* 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/+23
2024-03-03chore: improve code quanity on ReplCommand/Statesigoden-2/+41
2024-03-03feat: allow overriding execute/code role (#331)sigoden-8/+18
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-2/+21
2024-03-02refactor: enhanced shell support (#326)sigoden-6/+6
2024-02-25refactor: improve saving messages (#322)sigoden-4/+9
2024-02-24refactor: improve prompt error handling (#319)sigoden-16/+6
2024-02-23feat: support `-e/--execute` to execute shell command (#318)sigoden-2/+52
2024-02-22refactor: change header of messages saved to markdown (#317)sigoden-2/+23
2024-01-13feat: supports model capabilities (#297)sigoden-1/+9
1. automatically switch to the model that has the necessary capabilities. 2. throw an error if the client does not have a model with the necessary capabilities
2023-12-24feat: custom REPL prompt (#283)sigoden-12/+84
2023-12-23refactor: remove path existence indicator from info (#282)sigoden-4/+1
2023-12-20feat: qianwen vision models support embeded images (#277)sigoden-4/+7
2023-12-14fix: cannot read image with uppercase ext (#270)sigoden-1/+5
2023-12-13chore: update change session error message (#267)sigoden-1/+3
2023-11-27refactor: sort of some complete type (#253)sigoden-4/+3
2023-11-27feat: state-aware completer (#251)sigoden-0/+29
2023-11-27feat: support vision (#249)sigoden-42/+220
* 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-14refactor: trim trailing spaces from the role prompt (#246)sigoden-2/+2
2023-11-08fix: unexpected additional newline in REPL (#231)sigoden-1/+5
2023-11-08refactor: output info includes auto_copy and light_theme (#230)sigoden-3/+4
2023-11-07feat: temporarily use a role to send a message (#227)sigoden-5/+11
2023-11-07refactor: improve repl completer (#226)sigoden-18/+34
2023-11-07feat: add `config.prelude` to allow setting default role/session (#224)sigoden-2/+27
2023-11-07feat: allow the use of an unlisted model (#219)sigoden-10/+2
2023-11-04refactor: rename azure to azure_openai, improve register_client! (#208)sigoden-1/+1
2023-11-03fix: fix rendering markdown in REPL (#207)sigoden-1/+3
2023-11-03refactor: improve code quanity (#203)sigoden-42/+40
- update field name of ModelInfo - rename ModelInfo to Model
2023-11-02refactor: optimize render (#202)sigoden-0/+18
2023-11-02feat: add `.set auto_copy` (#200)sigoden-0/+5
2023-11-02refactor: improve repl completer (#199)sigoden-40/+38
2023-11-02refactor: improve code quanity (#197)sigoden-141/+5
- move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig
2023-11-02refactor: improve code quanity (#196)sigoden-51/+90
- rewrite Repl, remove ReplHandler - move ReplyStreamHandler to repl/ and rename it to ReplyHandler - deprecate utils::print_now - refactor session info