Commit Graph

  • 0044399509
    feat: add config.conversation_first (#55) sigoden 2023-03-09 23:30:12 +0800
  • d4a1029ddc feat: add config.conversation_first sigoden 2023-03-09 23:23:57 +0800
  • ad282ae74c refactor: no need to confirm conversation when token used out sigoden 2023-03-09 22:47:10 +0800
  • 89eaf1b653 fix: csharp and php do not render correctly sigoden 2023-03-09 22:46:33 +0800
  • 553d0fe55b
    refactor: optimize counting tokens (#53) sigoden 2023-03-09 21:18:28 +0800
  • 189f47003d refactor: optimize counting tokens sigoden 2023-03-09 21:13:05 +0800
  • 9767c07eee
    feat: support two types of role prompts (#52) sigoden 2023-03-09 19:10:02 +0800
  • 190ae17e7b feat: support two types of prompts sigoden 2023-03-09 18:59:39 +0800
  • c45d71cdea refactor: trivial updates sigoden 2023-03-09 16:42:13 +0800
  • 05d20f207f
    feat: add remain tokens indicator and max tokens guard (#50) sigoden 2023-03-09 15:30:39 +0800
  • 56967b197d feat: add remain tokens indicator and max tokens guard sigoden 2023-03-09 13:53:13 +0800
  • c7eb261abc
    fix: abort by ctrlc unexpectedly prints error message (#49) sigoden 2023-03-09 11:05:42 +0800
  • e79045d8dc fix: ctrlc abort unexpectedly prints error message sigoden 2023-03-09 11:01:30 +0800
  • a62e461e38
    feat: support conversation (#48) sigoden 2023-03-09 10:39:28 +0800
  • 84a609e328 feat: support conversation sigoden 2023-03-09 10:26:05 +0800
  • a7f2da156c
    feat: add role info to readline indicator (#47) sigoden 2023-03-09 08:26:35 +0800
  • 62576306ae feat: add role info to readline indicator sigoden 2023-03-09 08:19:38 +0800
  • e78b5f7c58 refactor: imports order and group sigoden 2023-03-09 08:11:38 +0800
  • 1ec451da89
    refactor: replace Arc<Refcell<Config>> with Arc<Mutex<Config>> (#46) sigoden 2023-03-09 07:58:44 +0800
  • fbbf469b4d refactor: replace Arc<Refcell<Config>> with Arc<Mutex<Config>> sigoden 2023-03-09 07:51:23 +0800
  • ebd3cb2401 chore: update readme sigoden 2023-03-09 07:04:12 +0800
  • 00ba8b5108 refactor: extra spaces are allowed around repl command sigoden 2023-03-09 07:02:28 +0800
  • ed905e3bd1 chore: fix cargo keyword sigoden 2023-03-08 21:56:24 +0800
  • 7270308a24 chore: release v0.5.0 v0.5.0 sigoden 2023-03-08 21:35:21 +0800
  • 9d32837669
    chore: optimize newline again (#43) sigoden 2023-03-08 21:34:20 +0800
  • 36aa9e2f98 fix macos newline sigoden 2023-03-08 21:29:35 +0800
  • a2dbebb178 fix windows newline sigoden 2023-03-08 21:15:14 +0800
  • e9a29353fe chore: optimize newline again sigoden 2023-03-08 21:09:45 +0800
  • 56483e04f0
    feat: add role-specific config (#42) sigoden 2023-03-08 19:43:11 +0800
  • 832f477946 feat: add role-specific config sigoden 2023-03-08 19:34:29 +0800
  • 2539e24fe9
    chore: improve code by getting prompt from config (#39) sigoden 2023-03-08 17:13:11 +0800
  • 31cf70f36e chore: improve code by getting prompt from config sigoden 2023-03-08 17:05:22 +0800
  • ee81275431
    fix: windows no stream output (#37) sigoden 2023-03-08 16:17:51 +0800
  • 4a38f25808 fix: windows no stream output sigoden 2023-03-08 16:10:45 +0800
  • 2a7a6f5f27 chore: no longer ignore any error sigoden 2023-03-08 16:06:24 +0800
  • 4e729db237 chore: optimize output newline sigoden 2023-03-08 13:44:37 +0800
  • f694a59dcc
    refactor: replace dump with print_now! (#35) sigoden 2023-03-08 11:58:50 +0800
  • 14cc2a04ba refactor: replace dump with print_now! sigoden 2023-03-08 11:52:14 +0800
  • b7cb6f89f1
    fix: repl set save true not work if not rerun(#34) sigoden 2023-03-08 11:27:51 +0800
  • 8f66ac39c8 fix: repl set save true not work if not restart sigoden 2023-03-08 11:23:35 +0800
  • b05fce7bca
    refactor: split long paragraphs for smoother stream output (#33) sigoden 2023-03-08 10:40:19 +0800
  • e31c8c1d5c refactor: split long paragraphs for smoother stream output sigoden 2023-03-08 10:12:44 +0800
  • ec1c4bcf8f
    refactor: theme and code color (#32) sigoden 2023-03-08 07:25:32 +0800
  • d83f54f5a2 refactor: theme and code color sigoden 2023-03-07 22:38:58 +0800
  • 360264121c
    feat: command mode supports stream out (#31) sigoden 2023-03-07 22:33:34 +0800
  • 3f671478a2 update cli sigoden 2023-03-07 21:50:12 +0800
  • 0676ac0d39 feat: command mode supports stream out sigoden 2023-03-07 21:38:23 +0800
  • c7fcdb1744
    refactor: adjust repl (#30) sigoden 2023-03-07 19:04:54 +0800
  • f19fabcf04 refactor: adjust repl sigoden 2023-03-07 16:15:00 +0800
  • d73be65b07
    refactor: support highlighting more languages (#28) sigoden 2023-03-07 15:37:03 +0800
  • b6a83eff48 refactor: support for more language highlighting sigoden 2023-03-07 13:45:24 +0800
  • 11dc4d104b
    refactor: optimize ctrl+c/ctrl+d abort handling (#27) sigoden 2023-03-07 11:51:52 +0800
  • 3fa335733b refactor: optimize ctrl+c/ctrl+d abort handling sigoden 2023-03-07 11:46:54 +0800
  • 1640456049
    refactor: use syntect for highlight, abandon mdcat (#26) sigoden 2023-03-07 11:38:44 +0800
  • 7074b6a18b fix format sigoden 2023-03-07 11:05:40 +0800
  • e36efd3301 simulate typing effect. sigoden 2023-03-07 10:38:05 +0800
  • 020125b13b split src/render.rs to sub modules. embed a default theme sigoden 2023-03-07 06:10:46 +0800
  • 7e8b086473 refactor: use syntect for highlight, abandon mdcat sigoden 2023-03-06 23:07:08 +0800
  • c12ae02751 chore: improve code by renameing some function sigoden 2023-03-06 16:35:51 +0800
  • f73f45ac9b chore: update deps sigoden 2023-03-06 15:47:46 +0800
  • 6e389d794e chore: update tool description sigoden 2023-03-06 13:37:34 +0800
  • 0874cecba8 chore: update readme sigoden 2023-03-06 13:00:43 +0800
  • 281e15cbd1 chore: release v0.4.0 really v0.4.0 sigoden 2023-03-06 10:57:09 +0800
  • 056f38428c
    fix: $AI_CONFIG_DIR points to the parent directory (#25) sigoden 2023-03-06 10:47:50 +0800
  • 467944324a fix: $AI_CONFIG_DIR points to the parent directory sigoden 2023-03-06 10:43:19 +0800
  • ffa444399f chore: release v0.4.0 sigoden 2023-03-06 10:33:13 +0800
  • f29ca57446 chore: optimize cli help sigoden 2023-03-06 10:08:59 +0800
  • cfb46ca0de
    feat: add --no-highlight option (#24) sigoden 2023-03-06 09:27:49 +0800
  • ece3aa7c4f feat: add --no-highlight option sigoden 2023-03-06 09:13:28 +0800
  • 7def9aef01
    fix: combine pipe and cli args, disable highlight when pipe (#23) sigoden 2023-03-06 08:43:24 +0800
  • 04b880d90e fix: combine pipe and cli args, disable highlight when pipe sigoden 2023-03-06 08:21:59 +0800
  • c5a2f4603c chore: optimize code sigoden 2023-03-06 07:08:51 +0800
  • 2152667fc6
    refactor: split src/repl.rs to submodules (#22) sigoden 2023-03-06 06:45:00 +0800
  • 830d5098eb refactor: split src/repl.rs to submodules sigoden 2023-03-06 06:40:58 +0800
  • d40913d739
    feat: add .prompt command (#21) sigoden 2023-03-06 05:30:20 +0800
  • 45e84a7475 set temp role name sigoden 2023-03-05 23:45:25 +0800
  • 71792532bd feat: add .prompt command sigoden 2023-03-05 23:36:59 +0800
  • 4b1d6c16b3
    feat: add .set command (#20) sigoden 2023-03-05 22:51:29 +0800
  • 7f1b892e31 Add config.role sigoden 2023-03-05 22:47:38 +0800
  • e6f2510fdf feat: add .set command sigoden 2023-03-05 22:21:42 +0800
  • 957ea431c2
    refactor: rename config.no_highlight to highlight (#19) sigoden 2023-03-05 19:48:22 +0800
  • 7c9184ddb2 refactor: rename config.no_highlight to highlight sigoden 2023-03-05 19:46:58 +0800
  • aadffb17a3
    feat: repl command replaces .editor with .multiline (#18) sigoden 2023-03-05 19:16:41 +0800
  • 93b6827724 feat: repl command replaces .editor with .multiline sigoden 2023-03-05 18:21:31 +0800
  • 625f0343cb chore: refactor error encapsulation sigoden 2023-03-05 16:45:42 +0800
  • bec8787a57 chore: release v0.3.0 v0.3.0 sigoden 2023-03-05 11:24:21 +0800
  • 2ac0155fa3
    feat: accept pipe (#17) sigoden 2023-03-05 11:11:15 +0800
  • 1ba6599258 feat: accept pipe sigoden 2023-03-05 11:01:24 +0800
  • d876818df1
    refactor: optimize clear screen (#16) sigoden 2023-03-05 10:42:35 +0800
  • 440f407f46 refactor: optimize clear screen sigoden 2023-03-05 10:25:54 +0800
  • 181fbe8163
    refactor: adjusted command name (#14) sigoden 2023-03-05 08:34:43 +0800
  • 1c92c3a8e9 re-order commands in help text sigoden 2023-03-05 08:28:47 +0800
  • a70320485f refactor: adjusted command name sigoden 2023-03-05 08:08:17 +0800
  • 598c31c3d9
    refactor: optimize role prompt (#13) sigoden 2023-03-05 07:52:36 +0800
  • 7b52702428 refactor: optimize role prompt sigoden 2023-03-05 07:02:14 +0800
  • 822f0eed94
    refactor: message record format (#12) sigoden 2023-03-05 06:17:43 +0800
  • a545efd2ed refactor: message record format sigoden 2023-03-05 05:59:54 +0800
  • 7a60a36367
    feat: add .info command (#11) sigoden 2023-03-05 05:50:30 +0800
  • f47e937231 feat: add .info command sigoden 2023-03-05 05:37:16 +0800
  • a055d4bee6
    feat: add .copy command (#10) sigoden 2023-03-05 00:19:48 +0800