https://www.activepieces.com logo
This worked for me: ``` import { PlatformRole, ...
# 🐶|general
b
This worked for me:
Copy code
import {
  PlatformRole,
  ApFlagId,
  AIProviderWithoutSensitiveData,
} from '@activepieces/shared';

.....

const config = providers?.data.find(
              (p: AIProviderWithoutSensitiveData) =>
                p.provider === providerDef.provider,
            );