cb9e27542eff73c4fdf16fc627869ab8d536849b
These allow to set a different system prompt for conversations and one-shot prompts. Also add a new `modelDefaults.systemPrompt` configuration key to define the default system prompt, which can be overriden per-execution with the --system-prompt or --system-prompt-file flags.
lmcli
lmcli is a (Large) Language Model CLI.
Current features:
- Perform one-shot prompts with
lmcli prompt <message> - Manage persistent conversations with the
new,reply,view, andrmsub-commands.
Planned features:
- Ask questions about content received on stdin
- "functions" to allow reading (and possibly writing) to local files
Maybe features:
- Natural language image generation, iterative editing
Install
$ go install git.mlow.ca/mlow/lmcli@latest
Usage
Invoke lmcli at least once:
$ lmcli help
Edit ~/.config/lmcli/config.yaml and set openai.apiKey to your API key.
Refer back to the output of lmcli help for usage.
Enjoy!
Description
Languages
Go
100%