@saltcorn/large-language-model 0.7.1 → 0.7.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/generate.js +1 -1
  2. package/package.json +1 -1
package/generate.js CHANGED
@@ -256,7 +256,7 @@ const initOAuth2Client = async (config) => {
256
256
  const { client_id, client_secret } = config || {};
257
257
  const state = getState();
258
258
  const pluginCfg =
259
- state.plugin_cfgs.large_language_model ||
259
+ state.plugin_cfgs["large-language-model"] ||
260
260
  state.plugin_cfgs["@saltcorn/large-language-model"];
261
261
  const baseUrl = (
262
262
  getState().getConfig("base_url") || "http://localhost:3000"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/large-language-model",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Large language models and functionality for Saltcorn",
5
5
  "main": "index.js",
6
6
  "dependencies": {