@burtson-labs/bandit-engine 2.0.41 → 2.0.42

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.
Files changed (31) hide show
  1. package/dist/{chat-T5ANWWYQ.mjs → chat-XDC4SNJF.mjs} +4 -4
  2. package/dist/chat-provider.js +5 -3
  3. package/dist/chat-provider.js.map +1 -1
  4. package/dist/chat-provider.mjs +3 -3
  5. package/dist/{chunk-A6OBEF72.mjs → chunk-4RCAVVDN.mjs} +6 -6
  6. package/dist/{chunk-QFNEHSY4.mjs → chunk-EOEI74X4.mjs} +3 -3
  7. package/dist/{chunk-3E57HLDV.mjs → chunk-ERV7GLY3.mjs} +3 -3
  8. package/dist/{chunk-WPWWWUD7.mjs → chunk-H4PBQ5LJ.mjs} +2 -2
  9. package/dist/{chunk-22EY3ZDC.mjs → chunk-KBKWVG7X.mjs} +3 -3
  10. package/dist/{chunk-LYWVYBKU.mjs → chunk-SBNENBUQ.mjs} +2 -2
  11. package/dist/{chunk-CX3INLYJ.mjs → chunk-UXE67LR7.mjs} +6 -4
  12. package/dist/{chunk-CX3INLYJ.mjs.map → chunk-UXE67LR7.mjs.map} +1 -1
  13. package/dist/cli.js +1 -1
  14. package/dist/cli.js.map +1 -1
  15. package/dist/index.js +5 -3
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.mjs +7 -7
  18. package/dist/management/management.js +5 -3
  19. package/dist/management/management.js.map +1 -1
  20. package/dist/management/management.mjs +5 -5
  21. package/dist/modals/chat-modal/chat-modal.js +5 -3
  22. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  23. package/dist/modals/chat-modal/chat-modal.mjs +3 -3
  24. package/package.json +1 -1
  25. /package/dist/{chat-T5ANWWYQ.mjs.map → chat-XDC4SNJF.mjs.map} +0 -0
  26. /package/dist/{chunk-A6OBEF72.mjs.map → chunk-4RCAVVDN.mjs.map} +0 -0
  27. /package/dist/{chunk-QFNEHSY4.mjs.map → chunk-EOEI74X4.mjs.map} +0 -0
  28. /package/dist/{chunk-3E57HLDV.mjs.map → chunk-ERV7GLY3.mjs.map} +0 -0
  29. /package/dist/{chunk-WPWWWUD7.mjs.map → chunk-H4PBQ5LJ.mjs.map} +0 -0
  30. /package/dist/{chunk-22EY3ZDC.mjs.map → chunk-KBKWVG7X.mjs.map} +0 -0
  31. /package/dist/{chunk-LYWVYBKU.mjs.map → chunk-SBNENBUQ.mjs.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ChatProvider,
3
3
  chat_provider_default
4
- } from "./chunk-22EY3ZDC.mjs";
4
+ } from "./chunk-KBKWVG7X.mjs";
5
5
  import "./chunk-ONQMRE2G.mjs";
6
- import "./chunk-WPWWWUD7.mjs";
6
+ import "./chunk-H4PBQ5LJ.mjs";
7
7
  import "./chunk-RTQDQ6TC.mjs";
8
- import "./chunk-CX3INLYJ.mjs";
8
+ import "./chunk-UXE67LR7.mjs";
9
9
  import "./chunk-XUBYA5I7.mjs";
10
10
  import "./chunk-54ZQ3FSN.mjs";
11
11
  import "./chunk-KCI46M23.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aiProviderInitService
3
- } from "./chunk-WPWWWUD7.mjs";
3
+ } from "./chunk-H4PBQ5LJ.mjs";
4
4
  import {
5
5
  useMCPToolsStore
6
6
  } from "./chunk-RTQDQ6TC.mjs";
7
7
  import {
8
8
  chat_modal_default
9
- } from "./chunk-3E57HLDV.mjs";
9
+ } from "./chunk-ERV7GLY3.mjs";
10
10
  import {
11
11
  DocumentCard_default,
12
12
  banditDarkTheme,
@@ -14,7 +14,7 @@ import {
14
14
  predefinedThemes,
15
15
  useNotificationService,
16
16
  useVoiceStore
17
- } from "./chunk-LYWVYBKU.mjs";
17
+ } from "./chunk-SBNENBUQ.mjs";
18
18
  import {
19
19
  authenticationService,
20
20
  brandingService_default,
@@ -27,7 +27,7 @@ import {
27
27
  useFeatures,
28
28
  useKnowledgeStore2 as useKnowledgeStore,
29
29
  useVectorStore
30
- } from "./chunk-CX3INLYJ.mjs";
30
+ } from "./chunk-UXE67LR7.mjs";
31
31
  import {
32
32
  indexedDBService_default,
33
33
  models,
@@ -7797,7 +7797,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
7797
7797
 
7798
7798
  // src/management/management.tsx
7799
7799
  import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
7800
- var preloadChatPage = () => import("./chat-T5ANWWYQ.mjs");
7800
+ var preloadChatPage = () => import("./chat-XDC4SNJF.mjs");
7801
7801
  var Management = () => {
7802
7802
  const navigate = useNavigate();
7803
7803
  const notificationService = useNotificationService();
@@ -8975,4 +8975,4 @@ export {
8975
8975
  useGatewayMemory,
8976
8976
  management_default
8977
8977
  };
8978
- //# sourceMappingURL=chunk-A6OBEF72.mjs.map
8978
+ //# sourceMappingURL=chunk-4RCAVVDN.mjs.map
@@ -19,7 +19,7 @@ import {
19
19
  useNotificationService,
20
20
  useTTS,
21
21
  useVoiceStore
22
- } from "./chunk-LYWVYBKU.mjs";
22
+ } from "./chunk-SBNENBUQ.mjs";
23
23
  import {
24
24
  authenticationService,
25
25
  brandingService_default,
@@ -43,7 +43,7 @@ import {
43
43
  useMemoryStore,
44
44
  useProjectStore,
45
45
  useVectorStore
46
- } from "./chunk-CX3INLYJ.mjs";
46
+ } from "./chunk-UXE67LR7.mjs";
47
47
  import {
48
48
  indexedDBService_default,
49
49
  useModelStore,
@@ -9545,4 +9545,4 @@ var chat_default = Chat;
9545
9545
  export {
9546
9546
  chat_default
9547
9547
  };
9548
- //# sourceMappingURL=chunk-QFNEHSY4.mjs.map
9548
+ //# sourceMappingURL=chunk-EOEI74X4.mjs.map
@@ -8,14 +8,14 @@ import {
8
8
  useNotificationService,
9
9
  useTTS,
10
10
  useVoiceStore
11
- } from "./chunk-LYWVYBKU.mjs";
11
+ } from "./chunk-SBNENBUQ.mjs";
12
12
  import {
13
13
  brandingService_default,
14
14
  toTitleCase,
15
15
  useAIQueryStore,
16
16
  useConversationStore,
17
17
  useMemoryStore
18
- } from "./chunk-CX3INLYJ.mjs";
18
+ } from "./chunk-UXE67LR7.mjs";
19
19
  import {
20
20
  indexedDBService_default,
21
21
  useModelStore,
@@ -2807,4 +2807,4 @@ export {
2807
2807
  MAX_WINDOWED_HEIGHT,
2808
2808
  chat_modal_default
2809
2809
  };
2810
- //# sourceMappingURL=chunk-3E57HLDV.mjs.map
2810
+ //# sourceMappingURL=chunk-ERV7GLY3.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authenticationService
3
- } from "./chunk-CX3INLYJ.mjs";
3
+ } from "./chunk-UXE67LR7.mjs";
4
4
  import {
5
5
  indexedDBService_default,
6
6
  usePackageSettingsStore
@@ -287,4 +287,4 @@ var aiProviderInitService = AIProviderInitService.getInstance();
287
287
  export {
288
288
  aiProviderInitService
289
289
  };
290
- //# sourceMappingURL=chunk-WPWWWUD7.mjs.map
290
+ //# sourceMappingURL=chunk-H4PBQ5LJ.mjs.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ONQMRE2G.mjs";
4
4
  import {
5
5
  aiProviderInitService
6
- } from "./chunk-WPWWWUD7.mjs";
6
+ } from "./chunk-H4PBQ5LJ.mjs";
7
7
  import {
8
8
  useMCPToolsStore
9
9
  } from "./chunk-RTQDQ6TC.mjs";
@@ -20,7 +20,7 @@ import {
20
20
  useKnowledgeStore2,
21
21
  useMemoryStore,
22
22
  useProjectStore
23
- } from "./chunk-CX3INLYJ.mjs";
23
+ } from "./chunk-UXE67LR7.mjs";
24
24
  import {
25
25
  indexedDBService_default,
26
26
  useModelStore,
@@ -157,4 +157,4 @@ export {
157
157
  ChatProvider,
158
158
  chat_provider_default
159
159
  };
160
- //# sourceMappingURL=chunk-22EY3ZDC.mjs.map
160
+ //# sourceMappingURL=chunk-KBKWVG7X.mjs.map
@@ -8,7 +8,7 @@ import {
8
8
  useMemoryStore,
9
9
  useNotification,
10
10
  useVectorStore
11
- } from "./chunk-CX3INLYJ.mjs";
11
+ } from "./chunk-UXE67LR7.mjs";
12
12
  import {
13
13
  useModelStore,
14
14
  usePackageSettingsStore,
@@ -8922,4 +8922,4 @@ export {
8922
8922
  FeedbackButton,
8923
8923
  useNotificationService
8924
8924
  };
8925
- //# sourceMappingURL=chunk-LYWVYBKU.mjs.map
8925
+ //# sourceMappingURL=chunk-SBNENBUQ.mjs.map
@@ -4682,9 +4682,11 @@ var useVectorStore = () => {
4682
4682
  setHasCompatibleProvider(false);
4683
4683
  return false;
4684
4684
  }
4685
- const isOllama = config.type === "ollama";
4686
- const isGatewayWithOllama = config.type === "gateway" && config.provider === "ollama";
4687
- const isCompatible = isOllama || isGatewayWithOllama;
4685
+ const vectorCapableProviders = /* @__PURE__ */ new Set(["ollama", "bandit"]);
4686
+ const isNativeOllama = config.type === "ollama";
4687
+ const hasVectorCapableProvider = typeof config.provider === "string" && vectorCapableProviders.has(config.provider);
4688
+ const isGatewayWithVectorSupport = config.type === "gateway" && hasVectorCapableProvider;
4689
+ const isCompatible = isNativeOllama || isGatewayWithVectorSupport;
4688
4690
  setHasCompatibleProvider(isCompatible);
4689
4691
  return isCompatible;
4690
4692
  } catch (error) {
@@ -5716,4 +5718,4 @@ export {
5716
5718
  useNotification,
5717
5719
  NotificationProvider
5718
5720
  };
5719
- //# sourceMappingURL=chunk-CX3INLYJ.mjs.map
5721
+ //# sourceMappingURL=chunk-UXE67LR7.mjs.map