Commit Graph

12 Commits

Author SHA1 Message Date
Matt Low 8c53752146 Add message branching
Updated the behaviour of commands:

- `lmcli edit`
  - by default create a new branch/message branch with the edited contents
  - add --in-place to avoid creating a branch
  - no longer delete messages after the edited message
  - only do the edit, don't fetch a new response
- `lmcli retry`
  - create a new branch rather than replacing old messages
  - add --offset to change where to retry from
2024-05-20 22:29:51 +00:00
Matt Low 60394de620 Listen for msgStateEnter in conversations view 2024-05-08 13:32:44 +00:00
Matt Low aeeb7bb7f7 tui: Add --system-prompt handling
And some state handling changes
2024-05-07 08:19:45 +00:00
Matt Low 08a2027332 tui: cleanup 2024-04-03 07:10:41 +00:00
Matt Low b06e031ee0 tui: Update conversation list category heading colour 2024-04-03 07:06:25 +00:00
Matt Low 69d3265b64 tui: fleshed out converation selection 2024-04-02 07:04:12 +00:00
Matt Low 7463b7502c tui: basic conversation selection and navigation 2024-04-01 22:47:15 +00:00
Matt Low 0e68e22efa tui: cleanup conversations data model 2024-04-01 22:43:20 +00:00
Matt Low 1404cae6a7 tui: call handleResize on states before transitioning 2024-04-01 17:07:50 +00:00
Matt Low 105ee2e01b tui: update/clean up input handling 2024-04-01 16:42:23 +00:00
Matt Low e1970a315a tui: split model up into chat/conversations 2024-03-31 23:51:45 +00:00
Matt Low 020db40401 tui: renamed stateConversation -> stateChat
stateConversationList -> stateConversations
2024-03-30 20:50:33 -06:00