8780856854d453f4f570c786e575c7e4882e7b0f
Add new SetStructDefaults function to handle the "defaults" struct tag. Only works on struct fields which are pointers (in order to be able to distinguish between not set (nil) and zero values). So, the Config struct has been updated to use pointer fields and we now need to dereference those pointers to use them.
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%