@burtson-labs/bandit-engine 2.0.41 → 2.0.44

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 (32) hide show
  1. package/dist/{chat-T5ANWWYQ.mjs → chat-7U633EWN.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-3E57HLDV.mjs → chunk-ERV7GLY3.mjs} +3 -3
  6. package/dist/{chunk-WPWWWUD7.mjs → chunk-H4PBQ5LJ.mjs} +2 -2
  7. package/dist/{chunk-A6OBEF72.mjs → chunk-JRGCRBWE.mjs} +6 -6
  8. package/dist/{chunk-22EY3ZDC.mjs → chunk-KBKWVG7X.mjs} +3 -3
  9. package/dist/{chunk-QFNEHSY4.mjs → chunk-QV4ELNLP.mjs} +47 -22
  10. package/dist/chunk-QV4ELNLP.mjs.map +1 -0
  11. package/dist/{chunk-LYWVYBKU.mjs → chunk-SBNENBUQ.mjs} +2 -2
  12. package/dist/{chunk-CX3INLYJ.mjs → chunk-UXE67LR7.mjs} +6 -4
  13. package/dist/{chunk-CX3INLYJ.mjs.map → chunk-UXE67LR7.mjs.map} +1 -1
  14. package/dist/cli.js +2 -2
  15. package/dist/cli.js.map +1 -1
  16. package/dist/index.js +45 -12
  17. package/dist/index.js.map +1 -1
  18. package/dist/index.mjs +7 -7
  19. package/dist/management/management.js +45 -12
  20. package/dist/management/management.js.map +1 -1
  21. package/dist/management/management.mjs +5 -5
  22. package/dist/modals/chat-modal/chat-modal.js +5 -3
  23. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  24. package/dist/modals/chat-modal/chat-modal.mjs +3 -3
  25. package/package.json +2 -2
  26. package/dist/chunk-QFNEHSY4.mjs.map +0 -1
  27. /package/dist/{chat-T5ANWWYQ.mjs.map → chat-7U633EWN.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-A6OBEF72.mjs.map → chunk-JRGCRBWE.mjs.map} +0 -0
  31. /package/dist/{chunk-22EY3ZDC.mjs.map → chunk-KBKWVG7X.mjs.map} +0 -0
  32. /package/dist/{chunk-LYWVYBKU.mjs.map → chunk-SBNENBUQ.mjs.map} +0 -0
@@ -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