@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.
- package/dist/{chat-T5ANWWYQ.mjs → chat-7U633EWN.mjs} +4 -4
- package/dist/chat-provider.js +5 -3
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +3 -3
- package/dist/{chunk-3E57HLDV.mjs → chunk-ERV7GLY3.mjs} +3 -3
- package/dist/{chunk-WPWWWUD7.mjs → chunk-H4PBQ5LJ.mjs} +2 -2
- package/dist/{chunk-A6OBEF72.mjs → chunk-JRGCRBWE.mjs} +6 -6
- package/dist/{chunk-22EY3ZDC.mjs → chunk-KBKWVG7X.mjs} +3 -3
- package/dist/{chunk-QFNEHSY4.mjs → chunk-QV4ELNLP.mjs} +47 -22
- package/dist/chunk-QV4ELNLP.mjs.map +1 -0
- package/dist/{chunk-LYWVYBKU.mjs → chunk-SBNENBUQ.mjs} +2 -2
- package/dist/{chunk-CX3INLYJ.mjs → chunk-UXE67LR7.mjs} +6 -4
- package/dist/{chunk-CX3INLYJ.mjs.map → chunk-UXE67LR7.mjs.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +45 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/management/management.js +45 -12
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +5 -5
- package/dist/modals/chat-modal/chat-modal.js +5 -3
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +3 -3
- package/package.json +2 -2
- package/dist/chunk-QFNEHSY4.mjs.map +0 -1
- /package/dist/{chat-T5ANWWYQ.mjs.map → chat-7U633EWN.mjs.map} +0 -0
- /package/dist/{chunk-3E57HLDV.mjs.map → chunk-ERV7GLY3.mjs.map} +0 -0
- /package/dist/{chunk-WPWWWUD7.mjs.map → chunk-H4PBQ5LJ.mjs.map} +0 -0
- /package/dist/{chunk-A6OBEF72.mjs.map → chunk-JRGCRBWE.mjs.map} +0 -0
- /package/dist/{chunk-22EY3ZDC.mjs.map → chunk-KBKWVG7X.mjs.map} +0 -0
- /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-
|
|
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-
|
|
8925
|
+
//# sourceMappingURL=chunk-SBNENBUQ.mjs.map
|
|
@@ -4682,9 +4682,11 @@ var useVectorStore = () => {
|
|
|
4682
4682
|
setHasCompatibleProvider(false);
|
|
4683
4683
|
return false;
|
|
4684
4684
|
}
|
|
4685
|
-
const
|
|
4686
|
-
const
|
|
4687
|
-
const
|
|
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-
|
|
5721
|
+
//# sourceMappingURL=chunk-UXE67LR7.mjs.map
|