summaryrefslogtreecommitdiffstats
path: root/src/utils
AgeCommit message (Collapse)AuthorLines
2023-11-01refactor: clients/* and config.rs (#193)sigoden-0/+68
- 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-31chore: move split_line_* from repl/cmd.rs to utils/ (#190)sigoden-0/+218
2023-10-30fix: dry run on role or session (#181)sigoden-56/+164
2023-10-30fix: detect light theme only by env var (#177)sigoden-259/+18
2023-10-30chore: remove unnecessary clippy macrossigoden-2/+0
2023-10-29feat: autodetect light theme on unix-like os (#168)sigoden-0/+259
2023-10-27fix: .copy don't works on some linux distro (#161)sigoden-6/+0
2023-10-27refactor: streaming input text in dry-run mode (#154)sigoden-0/+8
2023-10-26feat: support multi bots and custom url (#150)sigoden-20/+8
2023-07-10fix: minor code cleanup and pedantic lints (#134)Anthony Rubick-33/+32
2023-05-04feat: add `.copy` command (#119)sigoden-0/+6
2023-03-22fix: mask api_key/organization_id in info text (#93)sigoden-0/+20
2023-03-09feat: add remain tokens indicator and max tokens guard (#50)sigoden-0/+615