diff --git a/main.ts b/main.ts index 42eacf1..dfdf680 100644 --- a/main.ts +++ b/main.ts @@ -1437,6 +1437,7 @@ export default class LoomPlugin extends Plugin { n: this.settings.n, temperature: this.settings.temperature, top_p: this.settings.topP, + best_of: this.settings.bestOf > this.settings.n ? this.settings.bestOf : this.settings.n, } if (this.settings.frequencyPenalty !== 0) body.frequency_penalty = this.settings.frequencyPenalty; diff --git a/manifest.json b/manifest.json index e350d87..0493d8e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "loom", "name": "Loom", - "version": "1.21.2", + "version": "1.21.3", "minAppVersion": "0.15.0", "description": "Loom in Obsidian", "author": "celeste", diff --git a/package.json b/package.json index 3fa1c7a..42989e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-loom", - "version": "1.21.2", + "version": "1.21.3", "description": "Loom in Obsidian", "main": "main.js", "scripts": {