tearingItUp786 / chatgpt-tui

A chatgpt terminal ui
MIT License
31 stars 2 forks source link

[Feature] Add ability to set a custom system prompt #3

Closed sixlive closed 6 months ago

sixlive commented 6 months ago

This is extremely useful if you work with a base character prompt and need to add their prompt to the system

tearingItUp786 commented 6 months ago

Hey @sixlive 👋,

Good idea; I'll add this as a config option when I build out the config.json (#1). I'll explore adding another view to edit it per session but I think having the config option at least should be a sensible default and get us the functionality we're looking for 😄

sixlive commented 6 months ago

This sounds like a great approach! Looking forward to it!

tearingItUp786 commented 6 months ago

@sixlive I added a release-candidate version where you can test out the config file. It'll reference the same database as the stable install (which is fine for me).

Can you give it a spin and let me know if it does what you expect? It suits my needs.

Commands you'll need to run:

brew tap tearingitup786/tearingitup786
brew install rc-chatgpt-tui

#edit the config in neovim if you're using it
nvim ~/.chatgpt-tui/config.json

# run the program
rc-chatgpt-tui
sixlive commented 6 months ago

Works great!!

tearingItUp786 commented 6 months ago

Fixed in 0.4.0!