@elizaos/plugin-local-ai 1.0.0-beta.38 → 1.0.0-beta.40

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.js CHANGED
@@ -2822,7 +2822,7 @@ var LocalAIManager = class _LocalAIManager {
2822
2822
  temperature: 0.7,
2823
2823
  topP: 0.9,
2824
2824
  repeatPenalty: {
2825
- punishTokensFilter: () => this.smallModel.tokenize(wordsToPunish.join(" ")),
2825
+ punishTokensFilter: () => this.smallModel ? this.smallModel.tokenize(wordsToPunish.join(" ")) : [],
2826
2826
  penalty: 1.2,
2827
2827
  frequencyPenalty: 0.7,
2828
2828
  presencePenalty: 0.7