| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-03-11 | feat: add support for NO_COLOR (#67) | sigoden | -2/+14 | |
| 2023-03-11 | feat: support light theme (#65) | sigoden | -5/+15 | |
| There are two ways to enable the light theme: - add `light_theme: true` to config.yaml - use `AICHAT_LIGHT_THEME=true` env var | ||||
| 2023-03-11 | feat: support more env vars (#63) | sigoden | -30/+96 | |
| - AICHAT_CONFIG_DIR: sepecify the configuration directory - AICHAT_ROLES_FILE: set the `roles.yaml` file path - AICHAT_API_KEY: set the api key | ||||
| 2023-03-11 | feat: provide `--prompt` for adding a prompt from cli (#62) | sigoden | -1/+1 | |
| 2023-03-10 | chore: opitmize code, move MAX_TOKENS related to config/message.rs | sigoden | -6/+2 | |
| 2023-03-10 | fix: forbid .clear role in middle of conversation | sigoden | -0/+8 | |
| 2023-03-10 | fix: cli specify role is not applied when conversation_first set true (#57) | sigoden | -3/+7 | |
| close #56 | ||||
| 2023-03-09 | feat: add config.conversation_first (#55) | sigoden | -13/+16 | |
| If set true, start a conversation immediately upon repl. | ||||
| 2023-03-09 | refactor: no need to confirm conversation when token used out | sigoden | -6/+8 | |
| 2023-03-09 | refactor: optimize counting tokens (#53) | sigoden | -15/+9 | |
| 2023-03-09 | feat: support two types of role prompts (#52) | sigoden | -43/+21 | |
| 1. embeded prompt use __INPUT__ placeholder will generate one user message when send to gpt ``` - name: shell prompt: > I want you to act as a linux shell expert. Q: How to unzip a file A: unzip file.zip Q: __INPUT__ A: ``` 2. system prompt no __INPUT__ placeholder will generate on system message and one user message when send to gpt ``` - name: shell prompt: | I want you to act as a linux shell expert. I want you to answer only with bash code. Do not write explanations. ``` | ||||
| 2023-03-09 | refactor: trivial updates | sigoden | -9/+3 | |
| - change prompt's temp role name - questionnaire of 'save chat messages' default set true - `.info` do not show role name | ||||
| 2023-03-09 | feat: add remain tokens indicator and max tokens guard (#50) | sigoden | -30/+37 | |
| 2023-03-09 | feat: support conversation (#48) | sigoden | -0/+429 | |
