mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 01:12:15 +00:00
wip: refactoring tui
This commit is contained in:
parent
c69c9327da
commit
ca562266b7
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue