mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 08:31:55 +00:00
fix(regression): auto-enable memory runtime loads
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { applyPluginAutoEnable } from "../config/plugin-auto-enable.js";
|
||||
import { loadOpenClawPlugins } from "./loader.js";
|
||||
import { getMemoryRuntime } from "./memory-state.js";
|
||||
|
||||
@@ -7,7 +8,8 @@ function ensureMemoryRuntime(cfg?: OpenClawConfig) {
|
||||
if (current || !cfg) {
|
||||
return current;
|
||||
}
|
||||
loadOpenClawPlugins({ config: cfg });
|
||||
const resolvedConfig = applyPluginAutoEnable({ config: cfg, env: process.env }).config;
|
||||
loadOpenClawPlugins({ config: resolvedConfig });
|
||||
return getMemoryRuntime();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user