summaryrefslogtreecommitdiffstats
path: root/src/utils.rs
AgeCommit message (Collapse)AuthorLines
2023-03-09feat: add remain tokens indicator and max tokens guard (#50)sigoden-24/+0
2023-03-08feat: add role-specific config (#42)sigoden-0/+5
Now we can set role temperature. For example: ``` - 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. temperature: 0.4 ```
2023-03-08refactor: replace dump with print_now! (#35)sigoden-2/+9
2023-03-07refactor: adjust repl (#30)sigoden-8/+0
- abandon .copy - rename .multiple => .editor - if command successed, do not output `Done` - if command failed, output `Error: <error message>`
2023-03-05feat: repl command replaces `.editor` with `.multiline` (#18)sigoden-6/+0
You can use `.multiline` command to put multiline content ``` 〉.multiline { ::: abc ::: cdf ::: } ``` It's much easier than `.editor`.
2023-03-05chore: refactor error encapsulationsigoden-5/+6
2023-03-05refactor: message record format (#12)sigoden-0/+6
``` i am excited -------- 😃💥🎉 -------- ```
2023-03-05feat: add `.copy` command (#10)sigoden-0/+19