Comments

You must log in or register to comment.

sigoden OP t1_jc0lmic wrote

Features

  • Predefine AI roles
  • Use GPT prompt easily
  • Powerful Chat REPL
  • Context-ware conversation
  • syntax highlighting markdown and other 200 languages.
  • Stream output with hand typing effect
  • Multiline input support and emacs-like editing experience
  • Support proxy
  • Support dark/light theme
  • Save chat messages

github: https://github.com/sigoden/aichat.git

1

InitialCreature t1_jc1vomh wrote

puts my version to shame haha. I do like the idea of the color highlighting, what did you use for that?

1

UseNew5079 t1_jc204th wrote

Really cool project! There should be a configuration option to limit size of input text to protect from mistakes like `cat big_big_file | aichat`

1

sigoden OP t1_jc22w3y wrote

0

UseNew5079 t1_jc2a9t1 wrote

Oh i see. That makes sense. So if you try to send more than 4096 tokens the API will respond with error or will it charge you for >4096 tokens and just skip oldest?

1

sigoden OP t1_jc2f2mf wrote

You can't send more than 4096 tokens.AIChat will automatically evaluate the number of tokens used, and when it exceeds 4096, it will directly report an error and will not make a request

1