Update author email and migrate AI model to Gemini 2.5 Flash

This commit is contained in:
Enes Yakıştır
2026-05-13 11:32:31 +03:00
parent e348025579
commit 4e1eda888a
2 changed files with 9 additions and 4 deletions
+7 -2
View File
@@ -17,7 +17,7 @@
"authors": [ "authors": [
{ {
"name": "YakNet Bilişim", "name": "YakNet Bilişim",
"email": "[email protected].tr", "email": "[email protected].tr",
"role": "Developer" "role": "Developer"
} }
], ],
@@ -45,5 +45,10 @@
"bin/a11y" "bin/a11y"
], ],
"minimum-stability": "stable", "minimum-stability": "stable",
"prefer-stable": true "prefer-stable": true,
"config": {
"allow-plugins": {
"php-http/discovery": true
}
}
} }
+1 -1
View File
@@ -37,7 +37,7 @@ If it's about ARIA roles, add the correct ones.
PROMPT; PROMPT;
try { try {
$result = $this->client->geminiPro()->generateContent($prompt); $result = $this->client->generativeModel('gemini-2.5-flash')->generateContent($prompt);
$suggestion = trim($result->text()); $suggestion = trim($result->text());
// Clean up if AI included markdown blocks anyway // Clean up if AI included markdown blocks anyway