@opengeni/react 1.4.5-canary.38533733713001 → 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.
@@ -27,15 +27,15 @@ import {
27
27
  useGoal,
28
28
  useNewConversation,
29
29
  useSessionConversation
30
- } from "./chunk-ROUV2WRM.js";
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-KKSJE6P2.js";
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" : COMPACTION_FAILURE_TITLE;
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-JTY5Y7O4.js.map
13948
+ //# sourceMappingURL=chunk-RRYCD3QD.js.map