fix(Perplexity Node): Allow for penalties below 1 (#17074)

This commit is contained in:
Dana
2025-07-09 10:17:33 +02:00
committed by GitHub
parent 474365fd1b
commit 62ea048bbf

View File

@@ -130,9 +130,9 @@ const properties: INodeProperties[] = [
displayName: 'Frequency Penalty', displayName: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
default: 1, default: 0,
typeOptions: { typeOptions: {
minValue: 1, minValue: 0,
}, },
description: description:
"Values greater than 1.0 penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim", "Values greater than 1.0 penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim",