openclaw-memory-alibaba-mysql 0.2.1 → 0.2.3
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/config.ts +2 -1
- package/package.json +1 -1
package/config.ts
CHANGED
|
@@ -174,8 +174,9 @@ function parseLLMConfig(raw: unknown): LLMConfig {
|
|
|
174
174
|
|
|
175
175
|
export const memoryConfigSchema = {
|
|
176
176
|
parse(value: unknown): MemoryConfig {
|
|
177
|
+
// Allow empty config during plugin registration
|
|
177
178
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
178
|
-
|
|
179
|
+
value = {};
|
|
179
180
|
}
|
|
180
181
|
const cfg = value as Record<string, unknown>;
|
|
181
182
|
|