mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
prototype(connect): scope Go key models and fold only Go credentials
This commit is contained in:
parent
4b32710c3e
commit
bdf0d3c865
2 changed files with 2 additions and 2 deletions
|
|
@ -544,7 +544,7 @@ function ProviderConnection(props: {
|
|||
(provider) =>
|
||||
provider.id === props.provider ||
|
||||
provider.integrationID === integrationID ||
|
||||
provider.integrationID === state.keyProvider,
|
||||
(state.keyProvider !== undefined && provider.integrationID === state.keyProvider),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export function foldOpenCode(list: IntegrationInfo[]): IntegrationInfo[] {
|
|||
...item,
|
||||
name: "OpenCode",
|
||||
methods: [...methods, ...goKeys],
|
||||
connections: [...item.connections, ...go.connections],
|
||||
connections: [...item.connections, ...credentialConnections(go)],
|
||||
},
|
||||
]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue