@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.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EOEI74X4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KBKWVG7X.mjs";
|
|
7
7
|
import "./chunk-ONQMRE2G.mjs";
|
|
8
8
|
import {
|
|
9
9
|
management_default,
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-4RCAVVDN.mjs";
|
|
14
|
+
import "./chunk-H4PBQ5LJ.mjs";
|
|
15
15
|
import "./chunk-RTQDQ6TC.mjs";
|
|
16
16
|
import {
|
|
17
17
|
defineCustomElement
|
|
18
18
|
} from "./chunk-IXIM7BNO.mjs";
|
|
19
19
|
import {
|
|
20
20
|
chat_modal_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ERV7GLY3.mjs";
|
|
22
22
|
import {
|
|
23
23
|
FeedbackButton,
|
|
24
24
|
FeedbackModal,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useTTS,
|
|
37
37
|
useVoiceStore,
|
|
38
38
|
voiceService
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-SBNENBUQ.mjs";
|
|
40
40
|
import {
|
|
41
41
|
DEFAULT_TIER_FEATURES,
|
|
42
42
|
FeatureFlagContext,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
useVectorStore,
|
|
57
57
|
vectorDatabaseService,
|
|
58
58
|
vectorMigrationService
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-UXE67LR7.mjs";
|
|
60
60
|
import {
|
|
61
61
|
usePackageSettingsStore
|
|
62
62
|
} from "./chunk-XUBYA5I7.mjs";
|
|
@@ -8952,9 +8952,11 @@ var init_useVectorStore = __esm({
|
|
|
8952
8952
|
setHasCompatibleProvider(false);
|
|
8953
8953
|
return false;
|
|
8954
8954
|
}
|
|
8955
|
-
const
|
|
8956
|
-
const
|
|
8957
|
-
const
|
|
8955
|
+
const vectorCapableProviders = /* @__PURE__ */ new Set(["ollama", "bandit"]);
|
|
8956
|
+
const isNativeOllama = config.type === "ollama";
|
|
8957
|
+
const hasVectorCapableProvider = typeof config.provider === "string" && vectorCapableProviders.has(config.provider);
|
|
8958
|
+
const isGatewayWithVectorSupport = config.type === "gateway" && hasVectorCapableProvider;
|
|
8959
|
+
const isCompatible = isNativeOllama || isGatewayWithVectorSupport;
|
|
8958
8960
|
setHasCompatibleProvider(isCompatible);
|
|
8959
8961
|
return isCompatible;
|
|
8960
8962
|
} catch (error) {
|