@tpsdev-ai/openclaw-flair 0.1.3 → 0.1.4
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/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -271,7 +271,7 @@ export default {
|
|
|
271
271
|
|
|
272
272
|
register(api: OpenClawPluginApi) {
|
|
273
273
|
try {
|
|
274
|
-
const cfg = api.pluginConfig as FlairMemoryConfig;
|
|
274
|
+
const cfg = (api.pluginConfig ?? {}) as FlairMemoryConfig;
|
|
275
275
|
const isAutoMode = !cfg.agentId || cfg.agentId === "auto";
|
|
276
276
|
|
|
277
277
|
// Client pool: one client per agentId, created lazily
|