validateApiKey method

bool validateApiKey(
  1. LLMConfig config
)

Common API key validation Most providers require an API key

Implementation

bool validateApiKey(LLMConfig config) {
  return config.apiKey != null && config.apiKey!.isNotEmpty;
}