@wrongstack/webui 0.268.0 → 0.269.0
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server/entry.js +2 -2
- package/dist/server/entry.js.map +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/dist/server/entry.js
CHANGED
|
@@ -2092,7 +2092,7 @@ import {
|
|
|
2092
2092
|
collabInjectMiddleware,
|
|
2093
2093
|
estimateRequestTokensCalibrated,
|
|
2094
2094
|
EventBus,
|
|
2095
|
-
createStrategyCompactor as
|
|
2095
|
+
createStrategyCompactor as createStrategyCompactor2,
|
|
2096
2096
|
ProviderRegistry,
|
|
2097
2097
|
TOKENS as TOKENS2,
|
|
2098
2098
|
ToolRegistry,
|
|
@@ -6439,7 +6439,7 @@ async function startWebUI(opts = {}) {
|
|
|
6439
6439
|
const collabInject = collabInjectMiddleware(collabBus, { logger });
|
|
6440
6440
|
Object.defineProperty(collabInject, "name", { value: "collab-inject" });
|
|
6441
6441
|
pipelines.toolCall.prepend(collabInject);
|
|
6442
|
-
const compactor =
|
|
6442
|
+
const compactor = createStrategyCompactor2({
|
|
6443
6443
|
strategy: config.context?.strategy,
|
|
6444
6444
|
preserveK: config.context?.preserveK ?? 10,
|
|
6445
6445
|
eliseThreshold: config.context?.eliseThreshold ?? 2e3,
|