fix(openclaw): graceful startup without API key
Plugin no longer throws during register() when API key is missing. Instead it registers successfully, logs a clear setup message with the exact command to run, and disables memory features until configured. Before: openclaw plugins install -> register() throws -> gateway logs error After: openclaw plugins install -> registers ok -> logs setup instructions Users see: openclaw-mem0: API key not configured. Memory features are disabled. To set up, run: openclaw config set plugins.entries.openclaw-mem0.config.apiKey "m0-your-key" openclaw gateway restart Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
7e9824e394
commit
5a5e201dd9
@@ -28,6 +28,8 @@ export type Mem0Config = {
|
||||
autoRecall: boolean;
|
||||
searchThreshold: number;
|
||||
topK: number;
|
||||
// Setup state
|
||||
needsSetup?: boolean;
|
||||
// Agentic harness skills
|
||||
skills?: SkillsConfig;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user