chatblade icon indicating copy to clipboard operation
chatblade copied to clipboard

feat: Add default prompt via env variable

Open ahernsean opened this issue 2 years ago • 0 comments

This PR adds support for having chatblade use a default prompt. The default is set via an environment variable. In some ways, it makes chatblade similar to ChatGPT's "custom instructions" that are automatically applied for all new chats.

  • If CHATBLADE_DEFAULT_PROMPT is set in the user's environment, use the prompt set there as if it had been specified on the command line with -p. If the user has "-p prompt" on the command line, use that instead of the environment variable.
  • Bump version number

ahernsean avatar Feb 07 '24 21:02 ahernsean