@leikeduntech/leiai-js 2.7.0 → 2.7.1
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/build/index.js +2 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -344,8 +344,9 @@ Current date: ${currentDate}`;
|
|
|
344
344
|
let pluginList;
|
|
345
345
|
if (completionParams.pluginList) {
|
|
346
346
|
pluginList = completionParams.pluginList;
|
|
347
|
-
delete completionParams.pluginList;
|
|
348
347
|
}
|
|
348
|
+
if (typeof completionParams.pluginList !== "undefined")
|
|
349
|
+
delete completionParams.pluginList;
|
|
349
350
|
let body = {
|
|
350
351
|
max_tokens: maxTokens,
|
|
351
352
|
...this._completionParams,
|