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.
@@ -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-RHOU34FI.js.map
5267
+ //# sourceMappingURL=chunk-RMUDHCX2.js.map