summaryrefslogtreecommitdiffstats
path: root/src/repl/prompt.rs
AgeCommit message (Collapse)AuthorLines
2025-08-08chore: clippy with rust 1.89 (#1379)sigoden-5/+5
2024-05-02refactor: render multiline indicator (#479)sigoden-1/+1
2023-12-24feat: custom REPL prompt (#283)sigoden-34/+2
2023-12-08feat: change REPL indicators (#263)sigoden-2/+2
2023-11-07refactor: use &GlobalConfig to avoid clone (#217)sigoden-2/+4
2023-11-02refactor: improve code quanity (#197)sigoden-3/+3
- move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig
2023-11-01refactor: improve code quanity (#194)sigoden-1/+1
- extends ModelInfo for tokens calculating - refactor config/session.rs, improve export, render, getter/setter - modify main.rs, allow --model override session.model
2023-11-01refactor: clients/* and config.rs (#193)sigoden-5/+1
- add register_clients macro to make it easier to add a new client - no create_client_config, just add const PROMPTS - move ModelInfo from clients/ to config/ - model's max_tokens are optional - improve code quanity on config/mod.rs - add/use macro config_get_fn
2023-10-31feat: support custom theme (#187)sigoden-51/+5
2023-10-30chore: spellchecksigoden-1/+1
2023-10-30chore: remove unnecessary clippy macrossigoden-1/+0
2023-10-30feat: support textwrap (#171)sigoden-3/+3
* feat: support textwrap * improve cmd_render_stream * done cmd_render_stream * add `-w` alias to `--wrap` * done repl_render_stream * add `config.wrap_code` * remove cached config.wrap_width * fix unxpected duplicate lines on kitty * refactor markdown render * improve render * fix test
2023-10-28feat: enhance session/conversation (#162)sigoden-7/+9
* feat: enhance session/conversation * updates * updates * cut version v0.9.0-rc2 * add .session name completion
2023-10-27chore: change left-prompt for conversation (#157)sigoden-1/+1
2023-07-10fix: minor code cleanup and pedantic lints (#134)Anthony Rubick-8/+9
2023-03-16feat: support multiple models (#71)sigoden-3/+3
2023-03-11feat: add support for NO_COLOR (#67)sigoden-8/+75
2023-03-10feat: type `{` `[` `(` to enter multi-line editing mode (#58)sigoden-3/+1
Abandon `.editor` command, it's too complicated.
2023-03-10chore: improve code quality, split rep/prompt.rs from repl/init.rssigoden-0/+64