Improve TUI system prompt handling
+ allow setting a default agent
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user