lmcli/pkg/cli
Matt Low 6249fbc8f8 Refactor streamed response handling
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.
2023-11-24 03:45:43 +00:00
..
cli.go Refactor Store/Config initialization 2023-11-05 17:44:16 +00:00
cmd.go Refactor streamed response handling 2023-11-24 03:45:43 +00:00
config.go Add --system-prompt and --system-prompt-file flags 2023-11-22 04:45:06 +00:00
conversation.go Increase max token length for conversation title generation 2023-11-20 03:48:32 +00:00
openai.go Refactor streamed response handling 2023-11-24 03:45:43 +00:00
store.go Removed 'get' prefix from DataDir() and ConfigDir() 2023-11-22 03:17:13 +00:00
tty.go Refactor streamed response handling 2023-11-24 03:45:43 +00:00
util.go Add --system-prompt and --system-prompt-file flags 2023-11-22 04:45:06 +00:00