summaryrefslogtreecommitdiffstats
path: root/src/utils
AgeCommit message (Collapse)AuthorLines
2024-09-25fix: allow reading from special files (device, fifo, etc) (#886)Andrew Phillips-14/+11
2024-09-13feat: specify shell via $AICHAT_SHELL (#866)sigoden-24/+38
2024-09-10refactor: extract built-in roles to embedded files (#853)sigoden-15/+35
2024-09-06feat: better html to markdown converter (#840)sigoden-10/+26
2024-08-13refactor: improve crawl website (#787)sigoden-4/+6
2024-08-12feat: support builtin website crawling (recursive_url) (#786)sigoden-1/+319
2024-07-30feat: export agent variable as `LLM_AGENT_VAR_*` (#766)sigoden-0/+4
2024-07-30refactor: several improvements (#765)sigoden-5/+8
2024-07-28feat: ask for confirmation when some rag documents fail to load (#760)sigoden-0/+4
2024-07-28feat: add `config.stream` and `.set stream` repl command (#759)sigoden-6/+20
2024-07-17refactor: fetch html as markdown (#723)sigoden-1/+8
2024-07-17refactor: config creation prompt aware of env var (#722)sigoden-5/+1
2024-07-11refactor: improve estimate_token_length (#703)sigoden-20/+12
2024-07-10feat: adjust the way of obtaining function call results (#695)sigoden-10/+3
2024-07-10refactor: fetch image as data url (#694)sigoden-38/+72
2024-07-10feat: `--file/.file` can load dirs (#693)sigoden-30/+155
2024-07-02refactor: improve RAG (#675)sigoden-11/+19
2024-07-01feat: support `.rebuild rag` repl command(#672)sigoden-1/+5
2024-06-29refactor: the name of temp file (#670)sigoden-11/+13
2024-06-28feat: `.file`/`--file` support URLs (#665)sigoden-1/+133
2024-06-27feat: implement native rag url loader (#660)sigoden-0/+23
2024-06-27refactor: agent rag use `documents` field other than `embeddings` dir (#658)sigoden-1/+52
2024-06-26feat: rag load websites (#655)sigoden-54/+67
2024-06-26refactor: improve spinner (#654)sigoden-8/+14
2024-06-23refactor: embedding model add price and dimension (#636)sigoden-0/+18
2024-06-20feat: rag hybrid search (#618)sigoden-2/+8
2024-06-17feat: add `.edit session` repl command (#606)sigoden-1/+7
2024-06-13feat: add rag and bot related cli options (#595)sigoden-2/+2
2024-06-11feat: add config `dangerously_functions` (#582)sigoden-8/+0
2024-06-06refactor: global IS_STDOUT_TERMINAL (#571)sigoden-0/+2
2024-06-05feat: support RAG (#560)sigoden-7/+43
* 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-05-21refactor: change prompt for executing tool functions (#529)sigoden-0/+8
* refactor: change prompt for executing tool functions * add AICHAT_FUNCTION_AUTO_EXECUTE to auto confirm
2024-05-18refactor: shell detect/prompt (#519)sigoden-19/+29
2024-05-18feat: support function calling (#514)sigoden-62/+110
* 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-15refactor: improve tokenziesigoden-1/+2
2024-05-14feat: remove tiktoken (#506)sigoden-617/+21
2024-05-02chore: fix typos (#476)Tatsuya Kyushima-1/+1
2024-04-30refactor: improve code qualitysigoden-8/+37
2024-04-29feat: `.model` repl completions show max tokens and price (#462)sigoden-0/+34
2024-04-23refactor: more async code (#427)sigoden-18/+12
2024-04-21refactor: tell user session compression (#426)sigoden-2/+22
2024-04-21refactor: shell execution with spinner and select prompt (#425)sigoden-0/+54
2024-03-03feat: allow overriding execute/code role (#331)sigoden-2/+6
2024-03-02feat: add `-c/--code` to generate only code (#327)sigoden-0/+18
2024-03-02refactor: enhanced shell support (#326)sigoden-18/+35
2024-02-24refactor: improve prompt error handling (#319)sigoden-6/+4
2024-02-23feat: support `-e/--execute` to execute shell command (#318)sigoden-0/+46
2023-12-24feat: custom REPL prompt (#283)sigoden-0/+157
2023-12-19feat: support gemini (#273)sigoden-0/+5
2023-11-27feat: support vision (#249)sigoden-0/+9
* 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