diff --git a/internal/ui/model/ui.go b/internal/ui/model/ui.go index bdf1f4baab76405600a53379c7455285e5d3984f..62b82a0bba9eafd41cdfc76ad23228e75f51a24f 100644 --- a/internal/ui/model/ui.go +++ b/internal/ui/model/ui.go @@ -1621,7 +1621,8 @@ func (m *UI) fetchHyperCredits() tea.Cmd { func (m *UI) handleSelectModel(msg dialog.ActionSelectModel) tea.Cmd { var cmds []tea.Cmd - if m.isAgentBusy() { + // we ignore dialogs with the oauth id as they need to be able to be dismissed + if m.isAgentBusy() && !m.dialog.ContainsDialog(dialog.OAuthID) { return util.ReportWarn("Agent is busy, please wait...") }