diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 76f5ee290..d45d65b3c 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "65267c14d4cb241af1d36e4da983c1a975f41c60", - "syncedAt": "2026-04-11T23:26:28.540Z" + "sha": "52bf19c45e0891a17dd7031aefe3c10f4e4713e9", + "syncedAt": "2026-04-12T01:24:49.115Z" } diff --git a/docs/concepts/active-memory.md b/docs/concepts/active-memory.md index 088850190..596ad4955 100644 --- a/docs/concepts/active-memory.md +++ b/docs/concepts/active-memory.md @@ -111,7 +111,7 @@ What this means: - `config.agents: ["main"]` opts only the `main` agent into active memory - `config.allowedChatTypes: ["direct"]` keeps active memory on for direct-message style sessions only by default - if `config.model` is unset, active memory inherits the current session model first -- `config.modelFallbackPolicy: "default-remote"` keeps the built-in remote fallback as the default when no explicit or inherited model is available +- `config.modelFallback` optionally provides your own fallback provider/model for recall - `config.promptStyle: "balanced"` uses the default general-purpose prompt style for `recent` mode - active memory still runs only on eligible interactive persistent chat sessions @@ -335,26 +335,22 @@ If `config.model` is unset, Active Memory tries to resolve a model in this order explicit plugin model -> current session model -> agent primary model --> optional built-in remote fallback +-> optional configured fallback model ``` -`config.modelFallbackPolicy` controls the last step. +`config.modelFallback` controls the configured fallback step. -Default: +Optional custom fallback: ```json5 -modelFallbackPolicy: "default-remote" +modelFallback: "google/gemini-3-flash" ``` -Other option: +If no explicit, inherited, or configured fallback model resolves, Active Memory +skips recall for that turn. -```json5 -modelFallbackPolicy: "resolved-only" -``` - -Use `resolved-only` if you want Active Memory to skip recall instead of falling -back to the built-in remote default when no explicit or inherited model is -available. +`config.modelFallbackPolicy` is retained only as a deprecated compatibility +field for older configs. It no longer changes runtime behavior. ## Advanced escape hatches