diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md index e99fc6ffaf..79a4930edf 100644 --- a/ui/CHANGELOG.md +++ b/ui/CHANGELOG.md @@ -28,6 +28,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 8ab416a7b9..7b6516e398 100644 --- a/ui/lib/lighthouse/utils.ts +++ b/ui/lib/lighthouse/utils.ts @@ -46,6 +46,7 @@ export const getModelParams = (config: any): ModelParams => { if (modelId.startsWith("gpt-5")) { params.temperature = undefined; params.reasoningEffort = "minimal" as const; + params.maxTokens = undefined; } return params;