promptcraft
promptcraft copied to clipboard
Try new system prompts on your AI conversations. Over and over until you're happy.
Related to #16 Implements provider selection based on environment variables and introduces `--api-key` command-line option. - **Provider Selection Logic**: Modifies `Promptcraft::Llm#initialize` to automatically select the provider based on the presence...
https://docs.brew.sh/Formula-Cookbook#ruby-gem-dependencies
* If user only has `$OPENAI_API_KEY` then use `--provider openai` * If user has no env vars... :( * Allow `--api-key` if `--provider` provided
Currently we assume stdin is a stream of conversations. Perhaps it could be the new prompt. Perhaps we require `-p -` or `-c -` to indicate who gets STDIN?