fix(tui): align cli model picker behavior (#34571)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot] 2026-06-30 09:36:38 -05:00 committed by GitHub
commit 8f1db7d06d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 145 additions and 71 deletions

View file

@ -748,7 +748,11 @@ function App(props: { onSnapshot?: () => Promise<string[]>; pluginHost: TuiPlugi
suggested: !connected(),
slashName: "connect",
run: () => {
dialog.replace(() => <DialogIntegration />)
dialog.replace(() => (
<DialogIntegration
onConnected={(providerID) => dialog.replace(() => <DialogModel providerID={providerID} />)}
/>
))
},
category: "Integration",
},