summaryrefslogtreecommitdiffstats
path: root/src/utils/abort_signal.rs
AgeCommit message (Collapse)AuthorLines
35 hoursfeat: add built-in subquery tool with hierarchical query idsaichat-agent-1/+67
* Add config options subquery and subquery_max_depth. * Register an internal subquery function that spawns a fresh LLM query with the current model configuration but without the full context. The model selects context numerically (message_indexes) or by text excerpt (excerpts). * Subqueries can use tools, including further nested subqueries up to subquery_max_depth. * Queries and subqueries get hierarchical ids ([0], [0/1], [0/1/2]) that prefix tool-call prints and spinner messages.
2024-10-29refactor: improve code quality (#956)sigoden-4/+28
2024-06-26refactor: improve spinner (#654)sigoden-1/+1
2024-06-13feat: add rag and bot related cli options (#595)sigoden-2/+2
2024-06-05feat: support RAG (#560)sigoden-0/+9
* 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)
2023-11-02refactor: improve code quanity (#197)sigoden-0/+55
- move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig