MCPcopy Index your code
hub / github.com/coder/coder / resolveUserProviderAPIKeysForProviderType

Method resolveUserProviderAPIKeysForProviderType

coderd/x/chatd/chatd.go:8747–8754  ·  view source on GitHub ↗
(
	ctx context.Context,
	ownerID uuid.UUID,
	providerType string,
)

Source from the content-addressed store, hash-verified

8745}
8746
8747func (p *Server) resolveUserProviderAPIKeysForProviderType(
8748 ctx context.Context,
8749 ownerID uuid.UUID,
8750 providerType string,
8751) (chatprovider.ProviderAPIKeys, error) {
8752 keys, _, err := p.resolveUserProviderAPIKeysAndProviderForProviderType(ctx, ownerID, providerType)
8753 return keys, err
8754}
8755
8756func (p *Server) resolveUserProviderAPIKeysAndProviderForProviderType(
8757 ctx context.Context,