@saltcorn/large-language-model 0.6.1 → 0.6.2

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -288,7 +288,7 @@ module.exports = {
288
288
  );
289
289
  opts.endpoint = altcfg.endpoint;
290
290
  opts.model = altcfg.model;
291
- opts.apikey = altcfg.apikey;
291
+ opts.api_key = altcfg.api_key;
292
292
  opts.bearer = altcfg.bearer;
293
293
  }
294
294
  const ans = await getCompletion(config, { prompt, ...opts });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/large-language-model",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Large language models and functionality for Saltcorn",
5
5
  "main": "index.js",
6
6
  "dependencies": {