@flytedan/flytebot-design-system 0.90.1 → 0.91.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.cjs CHANGED
@@ -15715,6 +15715,7 @@ function ModelControls({
15715
15715
  onFastModeChange,
15716
15716
  fastModeLabel = "Enable fast mode",
15717
15717
  moreModels,
15718
+ modelsHeading = "Models",
15718
15719
  narrow: _narrow
15719
15720
  }) {
15720
15721
  if (!models || !models.length) return null;
@@ -15738,7 +15739,7 @@ function ModelControls({
15738
15739
  shortcut: m.shortcut ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(KeyHint, { keys: m.shortcut, size: "sm" }) : void 0,
15739
15740
  onSelect: () => onModelChange && onModelChange(m.id)
15740
15741
  });
15741
- const items = [{ kind: "section", label: "Models" }].concat(flat.map(item2));
15742
+ const items = [{ kind: "section", label: modelsHeading }].concat(flat.map(item2));
15742
15743
  Object.keys(grouped).forEach((g) => {
15743
15744
  items.push({ id: "grp_" + g, label: g, icon: "stack", submenu: grouped[g].map(item2) });
15744
15745
  });
@@ -15855,6 +15856,7 @@ function AgentChatPanel({
15855
15856
  fastMode,
15856
15857
  onFastModeChange,
15857
15858
  moreModels,
15859
+ modelsHeading,
15858
15860
  /* threads */
15859
15861
  threads,
15860
15862
  onSelectThread,
@@ -15954,6 +15956,7 @@ function AgentChatPanel({
15954
15956
  fastMode,
15955
15957
  onFastModeChange,
15956
15958
  moreModels,
15959
+ modelsHeading,
15957
15960
  narrow
15958
15961
  }
15959
15962
  );