Update Saqel Platform: 2026-09-08 23:35:48
This commit is contained in:
@@ -29,7 +29,7 @@ class AiVideoAnalyzerService
|
||||
*/
|
||||
private static function nextGeminiApiKey(): string
|
||||
{
|
||||
$raw = trim((string)(getenv('GEMINI_API_KEYS') ?: getenv('GEMINI_API_KEY') ?: ''));
|
||||
$raw = trim((string)(getenv('GEMINI_API_KEYS') ?: getenv('GEMINI_KEY') ?: ''));
|
||||
$keys = array_values(array_filter(array_map('trim', explode(',', $raw))));
|
||||
if (empty($keys)) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user