klaus-ai 0.1.38 → 0.1.40
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/dist/{chunk-RHOU34FI.js → chunk-RMUDHCX2.js} +2 -1
- package/dist/chunk-RMUDHCX2.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/{web-HJTSGGOA.js → web-46J7MOKK.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-RHOU34FI.js.map +0 -1
- /package/dist/{web-HJTSGGOA.js.map → web-46J7MOKK.js.map} +0 -0
|
@@ -4540,6 +4540,7 @@ async function handleAdminSettings(req, res) {
|
|
|
4540
4540
|
cfg.oneproxy = opCfg;
|
|
4541
4541
|
const nowEnabled = opCfg.enabled === true;
|
|
4542
4542
|
if (wasEnabled !== nowEnabled) {
|
|
4543
|
+
saveConfig(cfg);
|
|
4543
4544
|
const newOpConfig = loadOneProxyConfig();
|
|
4544
4545
|
await chatManagerRef?.setOneProxyConfig(newOpConfig);
|
|
4545
4546
|
delete cfg.model;
|
|
@@ -5263,4 +5264,4 @@ export {
|
|
|
5263
5264
|
readBody2 as readBody,
|
|
5264
5265
|
webPlugin
|
|
5265
5266
|
};
|
|
5266
|
-
//# sourceMappingURL=chunk-
|
|
5267
|
+
//# sourceMappingURL=chunk-RMUDHCX2.js.map
|