fix: reduce output

This commit is contained in:
Marc Seitz
2025-12-15 07:32:00 +01:00
parent 583a273d91
commit ba9904c8c3

View File

@@ -92,14 +92,13 @@ export default async function handle(
{ role: "system", content: systemPrompt },
{ role: "user", content: userPrompt },
],
temperature: 0.7,
temperature: 0.5,
providerOptions: {
openai: {
maxOutputTokens: 3000,
maxOutputTokens: 1000,
},
},
});
// Validate folder depth (max 5 levels)
const validateFolderDepth = (folder: any, depth = 0): boolean => {
if (depth >= 5) return false;