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

@@ -97,7 +97,7 @@ func (m *Model) handleInput(msg tea.KeyMsg) tea.Cmd {
}
return shared.KeyHandled(msg)
case "n":
m.App.ClearConversation()
m.App.NewConversation()
return shared.ChangeView(shared.ViewChat)
case "d":
if !m.confirmPrompt.Focused() && len(m.App.Conversations) > 0 && m.cursor < len(m.App.Conversations) {