ai 3.0.22 → 3.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -287,8 +287,8 @@ function prepareCallSettings({
287
287
  maxTokens,
288
288
  temperature: temperature != null ? temperature : 0,
289
289
  topP,
290
- presencePenalty: presencePenalty != null ? presencePenalty : 0,
291
- frequencyPenalty: frequencyPenalty != null ? frequencyPenalty : 0,
290
+ presencePenalty,
291
+ frequencyPenalty,
292
292
  seed,
293
293
  maxRetries: maxRetries != null ? maxRetries : 2
294
294
  };