diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md index 4e17efd6b8..66594f5f9a 100644 --- a/ui/CHANGELOG.md +++ b/ui/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to the **Prowler UI** are documented in this file. +## [1.12.4] (Prowler v5.12.4) + +### 🐞 Fixed + +- Remove maxTokens model param for GPT-5 models [(#8843)](https://github.com/prowler-cloud/prowler/pull/8843) + ## [1.12.3] (Prowler v5.12.3) ### 🐞 Fixed diff --git a/ui/lib/lighthouse/utils.ts b/ui/lib/lighthouse/utils.ts index 78f760c8c7..c6ec19d9f4 100644 --- a/ui/lib/lighthouse/utils.ts +++ b/ui/lib/lighthouse/utils.ts @@ -60,7 +60,8 @@ export const getModelParams = (config: any): ModelParams => { if (modelId.startsWith("gpt-5")) { params.temperature = undefined; - params.reasoningEffort = "minimal"; + params.reasoningEffort = "minimal" as const; + params.maxTokens = undefined; } return params;