6249fbc8f8c4527fc7d64dfea2ec746e573339a7
Update CreateChangeCompletionStream to return the entire response upon stream completion. Renamed HandleDelayedResponse to HandleDelayedContent, which no longer returns the content. Removes the need wrapping HandleDelayedContent in an immediately invoked function and the passing of the completed response over a channel. Also allows us to better handle the case of partial a response.
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. - Syntax highlighted output
Planned features:
- Ask questions about content received on stdin
- "functions" to allow reading (and possibly writing) to files within the current working directory
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%