wip: refactoring tui
parent
c69c9327da
commit
ca562266b7
|
|
@ -168,6 +168,7 @@ func (a appModel) Init() tea.Cmd {
|
|||
return dialog.ShowInitDialogMsg{Show: shouldShow}
|
||||
})
|
||||
|
||||
// TODO: store last selected model somewhere
|
||||
cmds = append(cmds, func() tea.Msg {
|
||||
providers, _ := a.app.ListProviders(context.Background())
|
||||
return state.ModelSelectedMsg{Provider: providers[0], Model: providers[0].Models[0]}
|
||||
|
|
|
|||
Loading…
Reference in New Issue