isUsing3PServices function
Check if using third-party services (Bedrock, Vertex, Foundry, OpenAI, Gemini).
Implementation
bool isUsing3PServices() {
return _isEnvTruthy(Platform.environment['MAGE_USE_BEDROCK']) ||
_isEnvTruthy(Platform.environment['MAGE_USE_VERTEX']) ||
_isEnvTruthy(Platform.environment['MAGE_USE_FOUNDRY']) ||
_isEnvTruthy(Platform.environment['MAGE_USE_OPENAI']) ||
_isEnvTruthy(Platform.environment['MAGE_USE_GEMINI']);
}