diff --git a/composer.json b/composer.json index 0db6a3e..642d354 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "authors": [ { "name": "YakNet Bilişim", - "email": "dev@yak.net.tr", + "email": "info@yakhub.com.tr", "role": "Developer" } ], @@ -45,5 +45,10 @@ "bin/a11y" ], "minimum-stability": "stable", - "prefer-stable": true -} \ No newline at end of file + "prefer-stable": true, + "config": { + "allow-plugins": { + "php-http/discovery": true + } + } +} diff --git a/src/AI/GeminiFixer.php b/src/AI/GeminiFixer.php index 7e320a1..fa659a3 100644 --- a/src/AI/GeminiFixer.php +++ b/src/AI/GeminiFixer.php @@ -37,7 +37,7 @@ If it's about ARIA roles, add the correct ones. PROMPT; try { - $result = $this->client->geminiPro()->generateContent($prompt); + $result = $this->client->generativeModel('gemini-2.5-flash')->generateContent($prompt); $suggestion = trim($result->text()); // Clean up if AI included markdown blocks anyway