@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.
- package/dist/{chat-T5ANWWYQ.mjs → chat-XDC4SNJF.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-A6OBEF72.mjs → chunk-4RCAVVDN.mjs} +6 -6
- package/dist/{chunk-QFNEHSY4.mjs → chunk-EOEI74X4.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-22EY3ZDC.mjs → chunk-KBKWVG7X.mjs} +3 -3
- 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 +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/management/management.js +5 -3
- 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 +1 -1
- /package/dist/{chat-T5ANWWYQ.mjs.map → chat-XDC4SNJF.mjs.map} +0 -0
- /package/dist/{chunk-A6OBEF72.mjs.map → chunk-4RCAVVDN.mjs.map} +0 -0
- /package/dist/{chunk-QFNEHSY4.mjs.map → chunk-EOEI74X4.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-22EY3ZDC.mjs.map → chunk-KBKWVG7X.mjs.map} +0 -0
- /package/dist/{chunk-LYWVYBKU.mjs.map → chunk-SBNENBUQ.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -9478,9 +9478,11 @@ var init_useVectorStore = __esm({
|
|
|
9478
9478
|
setHasCompatibleProvider(false);
|
|
9479
9479
|
return false;
|
|
9480
9480
|
}
|
|
9481
|
-
const
|
|
9482
|
-
const
|
|
9483
|
-
const
|
|
9481
|
+
const vectorCapableProviders = /* @__PURE__ */ new Set(["ollama", "bandit"]);
|
|
9482
|
+
const isNativeOllama = config.type === "ollama";
|
|
9483
|
+
const hasVectorCapableProvider = typeof config.provider === "string" && vectorCapableProviders.has(config.provider);
|
|
9484
|
+
const isGatewayWithVectorSupport = config.type === "gateway" && hasVectorCapableProvider;
|
|
9485
|
+
const isCompatible = isNativeOllama || isGatewayWithVectorSupport;
|
|
9484
9486
|
setHasCompatibleProvider(isCompatible);
|
|
9485
9487
|
return isCompatible;
|
|
9486
9488
|
} catch (error) {
|