@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.
- package/generate.js +1 -1
- 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
|
|
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"
|