summaryrefslogtreecommitdiffstats
path: root/src/render/stream.rs
AgeCommit message (Collapse)AuthorLines
8 hoursFixed subquery tool double addingmainLeonard Kugis-2/+10
42 hoursfeat: add built-in subquery tool with hierarchical query idsaichat-agent-2/+8
* 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.
2025-08-01feat: switch to raw stream renderer when no_color/no_highlight (#1371)sigoden-2/+11
2025-06-28chore: clippy (#1334)sigoden-1/+1
2024-11-29chore: clippy for the new rust version (#1018)sigoden-1/+1
2024-11-27feat: handle Ctrl+C during every spinner in REPL (#1014)sigoden-2/+2
2024-10-29refactor: improve code quality (#956)sigoden-24/+13
2024-09-06fix: render stream failed due to read cursor position timeout (#835)sigoden-1/+11
2024-06-26feat: rag load websites (#655)sigoden-7/+6
2024-06-05feat: support RAG (#560)sigoden-8/+7
* 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-04-29refactor: rename some structs (#457)sigoden-13/+13
2024-04-23refactor: more async code (#427)sigoden-37/+35
2024-04-21refactor: shell execution with spinner and select prompt (#425)sigoden-50/+1
2024-04-20refactor: update description for cli options and config fields (#423)sigoden-1/+1
2024-04-19refactor: fluash raw streamsigoden-1/+2
2024-04-14refactor: adjust indicator text and render strategysigoden-1/+1
2024-03-28fix: incorrectly render text contains tabs (#384)sigoden-1/+4
2023-11-27feat: support vision (#249)sigoden-1/+1
* 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-14fix: the last reply tokens was not highlighted (#243)sigoden-16/+13
2023-11-08refactor: improve code quanity (#238)sigoden-18/+36
2023-11-08feat: add a spinner to indicate waiting for response (#236)sigoden-0/+60
2023-11-08refactor: improve render (#235)sigoden-0/+183
* refactor: redesign render - if stdout is not terminal, just write reply text to stdout - rename repl_render_stream to markdown_stream - deprecate cmd_render_stream - use raw_stream to just print streaming reply text * optimize rendering error * optimize render_stream