requiresApiKey static method

bool requiresApiKey(
  1. ApiProviderType type
)

Implementation

static bool requiresApiKey(ApiProviderType type) => switch (type) {
  ApiProviderType.ollama => false,
  _ => true,
};