Private
Public Access
1
0

Improve TUI system prompt handling

+ allow setting a default agent
This commit is contained in:
2024-09-23 03:00:03 +00:00
parent 676aa7b004
commit a46d211e10
6 changed files with 23 additions and 15 deletions

View File

@@ -53,7 +53,7 @@ func (m *Model) handleInput(msg tea.KeyMsg) tea.Cmd {
m.updateContent()
return shared.KeyHandled(msg)
case "ctrl+n":
m.App.ClearConversation()
m.App.NewConversation()
m.rebuildMessageCache()
m.updateContent()
return shared.KeyHandled(msg)