diff --git a/README.md b/README.md
index 2a2dbf2..b7c350f 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych.
## Instalacja
-W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.28).
+W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.43.29).
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.43.29.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.43.29.sql
new file mode 100644
index 0000000..5da84d5
--- /dev/null
+++ b/administrator/components/com_testquestions/sql/updates/mysql/1.43.29.sql
@@ -0,0 +1 @@
+-- Wydanie 1.43.29: ograniczono czas generowania oceny przez Gemini.
diff --git a/administrator/components/com_testquestions/src/Service/AiService.php b/administrator/components/com_testquestions/src/Service/AiService.php
index 37b6994..0104ca1 100644
--- a/administrator/components/com_testquestions/src/Service/AiService.php
+++ b/administrator/components/com_testquestions/src/Service/AiService.php
@@ -74,7 +74,11 @@ class AiService
],
'gemini' => [
'contents' => [['parts' => [['text' => $input]]]],
- 'generationConfig' => ['responseMimeType' => 'application/json'],
+ 'generationConfig' => [
+ 'maxOutputTokens' => 256,
+ 'responseMimeType' => 'application/json',
+ 'thinkingConfig' => ['thinkingLevel' => 'low'],
+ ],
],
default => [
'model' => $model,
@@ -100,7 +104,7 @@ class AiService
$config['url'],
$payload,
$headers,
- 60
+ $provider === 'gemini' ? 25 : 60
);
$body = json_decode((string) $response->body, true);
diff --git a/com_testquestions.xml b/com_testquestions.xml
index 0fbdd9b..4f4c1ca 100644
--- a/com_testquestions.xml
+++ b/com_testquestions.xml
@@ -4,7 +4,7 @@
2026-10-14
Komponent
GNU General Public License version 2 or later
- 1.43.28
+ 1.43.29
COM_TESTQUESTIONS_DESCRIPTION
com_testquestions
Komponent\Component\Testquestions