mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 23:15:18 +00:00
fix(app): disconnect zen provider
This commit is contained in:
parent
8b5dde5536
commit
cbe8f265b9
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,10 @@ export const SettingsProviders: Component = () => {
|
|||
const globalSDK = useGlobalSDK()
|
||||
const providers = useProviders()
|
||||
|
||||
const connected = createMemo(() => providers.connected())
|
||||
const connected = createMemo(() => {
|
||||
const paid = providers.paid().length > 0
|
||||
return providers.connected().filter((p) => p.id !== "opencode" || paid)
|
||||
})
|
||||
const popular = createMemo(() => {
|
||||
const connectedIDs = new Set(connected().map((p) => p.id))
|
||||
const items = providers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue