Commit Graph

8 Commits

Author SHA1 Message Date
Matt Low 239ded18f3 Add edit command
Various refactoring:
- reduced repetition with conversation message handling
- made some functions internal
2024-01-02 04:31:21 +00:00
Matt Low 1e8ff60c54 Add `lmcli rename` to rename conversations 2023-11-29 15:33:25 +00:00
Matt Low c64bc370f4 Don't include system message when generating conversation title 2023-11-29 04:51:38 +00:00
Matt Low ed6ee9bea9 Add *Message[] parameter to CreateChatCompletion methods
Allows replies (tool calls, user-facing messges) to be added in sequence
as CreateChatCompleion* recurses into itself.

Cleaned up cmd.go: no longer need to create a Message based on the
string content response.
2023-11-29 04:43:53 +00:00
Matt Low 1e63c09907 Update prompt used to generate conversation title 2023-11-27 05:21:41 +00:00
Matt Low b5f066ff34 Increase max token length for conversation title generation 2023-11-20 03:48:32 +00:00
Matt Low cf0e98f656 Generate titles for new conversations 2023-11-13 06:39:06 +00:00
Matt Low b87c3ffc53 Implement `lmcli view [conversation]` with completions
Separate out logic to retrieve a message's "friendly" role (System,
User, Assistant)
2023-11-12 23:33:16 +00:00