@opengeni/react 1.4.5-canary.38533006839001 → 2.0.1
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/{chunk-ROUV2WRM.js → chunk-25YZS7TK.js} +3 -3
- package/dist/{chunk-KKSJE6P2.js → chunk-HQN5AZFY.js} +8 -2
- package/dist/{chunk-KKSJE6P2.js.map → chunk-HQN5AZFY.js.map} +1 -1
- package/dist/{chunk-JTY5Y7O4.js → chunk-RRYCD3QD.js} +5 -5
- package/dist/chunk-RRYCD3QD.js.map +1 -0
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/{latest-question-MYLGMNDL.js → latest-question-6WZQV23L.js} +2 -2
- package/dist/session-ui.js +3 -3
- package/dist/session.js +2 -2
- package/dist/timeline/compaction-copy.d.ts +8 -0
- package/package.json +4 -4
- package/src/components/message-timeline.tsx +2 -2
- package/src/components/workspace-dock.tsx +18 -1
- package/src/timeline/compaction-copy.ts +14 -0
- package/dist/chunk-JTY5Y7O4.js.map +0 -1
- /package/dist/{chunk-ROUV2WRM.js.map → chunk-25YZS7TK.js.map} +0 -0
- /package/dist/{latest-question-MYLGMNDL.js.map → latest-question-6WZQV23L.js.map} +0 -0
|
@@ -27,15 +27,15 @@ import {
|
|
|
27
27
|
useGoal,
|
|
28
28
|
useNewConversation,
|
|
29
29
|
useSessionConversation
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-25YZS7TK.js";
|
|
31
31
|
import {
|
|
32
|
-
COMPACTION_FAILURE_TITLE,
|
|
33
32
|
buildTimeline,
|
|
34
33
|
compactionFailureDetails,
|
|
35
34
|
compactionSkipSubtitle,
|
|
35
|
+
compactionSkipTitle,
|
|
36
36
|
groupTimeline,
|
|
37
37
|
presentTurnFailureText
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HQN5AZFY.js";
|
|
39
39
|
import {
|
|
40
40
|
OpenGeniProvider
|
|
41
41
|
} from "./chunk-R5SBNG7S.js";
|
|
@@ -9382,7 +9382,7 @@ function CompactionRow({ item }) {
|
|
|
9382
9382
|
const trigger = item.trigger && item.phase !== "started" ? COMPACTION_TRIGGER_LABEL[item.trigger] : null;
|
|
9383
9383
|
const before = item.estimatedTokensBefore != null ? Math.round(item.estimatedTokensBefore).toLocaleString("en-US") : null;
|
|
9384
9384
|
const after = item.estimatedTokensAfter != null ? Math.round(item.estimatedTokensAfter).toLocaleString("en-US") : null;
|
|
9385
|
-
const title = item.phase === "started" ? "Compacting conversation history\u2026" : item.phase === "compacted" ? before && after ? `Conversation history compacted \xB7 ~${before} \u2192 ~${after} estimated history tokens` : "Conversation history compacted" :
|
|
9385
|
+
const title = item.phase === "started" ? "Compacting conversation history\u2026" : item.phase === "compacted" ? before && after ? `Conversation history compacted \xB7 ~${before} \u2192 ~${after} estimated history tokens` : "Conversation history compacted" : compactionSkipTitle(item.skipReason);
|
|
9386
9386
|
const subtitle = item.phase === "compacted" ? "Chat history above is unchanged" : item.phase === "skipped" ? compactionSkipSubtitle(item.skipReason, item.providerRejection) : null;
|
|
9387
9387
|
const details = compactionFailureDetails(item);
|
|
9388
9388
|
const failed = item.phase === "skipped" && item.skipReason === "summarization_failed";
|
|
@@ -13945,4 +13945,4 @@ export {
|
|
|
13945
13945
|
SessionCommands,
|
|
13946
13946
|
StartupTimings
|
|
13947
13947
|
};
|
|
13948
|
-
//# sourceMappingURL=chunk-
|
|
13948
|
+
//# sourceMappingURL=chunk-RRYCD3QD.js.map
|