@xdarkicex/openclaw-memory-libravdb 1.9.10-beta.15 → 1.9.10-beta.16
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/dist/context-engine.js +4 -1
- package/dist/index.js +2 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/context-engine.js
CHANGED
|
@@ -1984,7 +1984,10 @@ export function buildContextEngineFactory(runtime, cfg, logger = console) {
|
|
|
1984
1984
|
tokenBudget: args.tokenBudget,
|
|
1985
1985
|
systemPromptAddition: assembled.systemPromptAddition,
|
|
1986
1986
|
});
|
|
1987
|
-
|
|
1987
|
+
// Only inject continuity on session bootstrap (fresh /new).
|
|
1988
|
+
// After the first turn, predictive context handles it.
|
|
1989
|
+
const isSessionBootstrap = messages.length <= 1;
|
|
1990
|
+
const withContinuity = (isSessionBootstrap && continuityContext)
|
|
1988
1991
|
? { ...assembled, systemPromptAddition: appendSystemPromptAddition(assembled.systemPromptAddition, continuityContext) }
|
|
1989
1992
|
: assembled;
|
|
1990
1993
|
enforced = enforceTokenBudgetInvariant(await augmentWithExactRecall(withContinuity, {
|
package/dist/index.js
CHANGED
|
@@ -37205,7 +37205,8 @@ ${cached}
|
|
|
37205
37205
|
tokenBudget: args.tokenBudget,
|
|
37206
37206
|
systemPromptAddition: assembled.systemPromptAddition
|
|
37207
37207
|
});
|
|
37208
|
-
const
|
|
37208
|
+
const isSessionBootstrap = messages.length <= 1;
|
|
37209
|
+
const withContinuity = isSessionBootstrap && continuityContext ? { ...assembled, systemPromptAddition: appendSystemPromptAddition(assembled.systemPromptAddition, continuityContext) } : assembled;
|
|
37209
37210
|
enforced = enforceTokenBudgetInvariant(
|
|
37210
37211
|
await augmentWithExactRecall(withContinuity, {
|
|
37211
37212
|
queryText: retrievalQuery,
|
package/openclaw.plugin.json
CHANGED