The open source coding agent.
TypeScript
wip: refactoring tui
adamdottvca562266b7ec
diff --git a/internal/tui/tui.go b/internal/tui/tui.goindex 1b8d4c0812c..236d5e4530a 100644--- a/internal/tui/tui.go+++ b/internal/tui/tui.go@@ -168,6 +168,7 @@ func (a appModel) Init() tea.Cmd {return dialog.ShowInitDialogMsg{Show: shouldShow}})+ // TODO: store last selected model somewherecmds = append(cmds, func() tea.Msg {providers, _ := a.app.ListProviders(context.Background())return state.ModelSelectedMsg{Provider: providers[0], Model: providers[0].Models[0]}