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:
parent
b1ca070b3b
commit
8f1db7d06d
4 changed files with 145 additions and 71 deletions
|
|
@ -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",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue