Update Saqel Platform: 2026-09-08 23:35:48
This commit is contained in:
@@ -112,7 +112,7 @@ class AiLessonEnhancerService
|
||||
|
||||
private static function callGemini(string $prompt): ?array
|
||||
{
|
||||
$apiKey = Env::get('GEMINI_API_KEY') ?: getenv('GEMINI_API_KEY');
|
||||
$apiKey = Env::get('GEMINI_KEY') ?: getenv('GEMINI_KEY');
|
||||
if (!$apiKey) {
|
||||
$apiKey = Env::get('GOOGLE_API_KEY') ?: getenv('GOOGLE_API_KEY');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user