@burtson-labs/bandit-engine 2.0.163 → 2.0.164
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-MRDQ2WRJ.mjs → chat-OSAVW6L2.mjs} +2 -2
- package/dist/{chunk-F32P7Q5O.mjs → chunk-JYBQAKSZ.mjs} +4 -1
- package/dist/{chunk-F32P7Q5O.mjs.map → chunk-JYBQAKSZ.mjs.map} +1 -1
- package/dist/{chunk-HSGQXL4N.mjs → chunk-PNQRS5EN.mjs} +2 -2
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +3 -0
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chat-MRDQ2WRJ.mjs.map → chat-OSAVW6L2.mjs.map} +0 -0
- /package/dist/{chunk-HSGQXL4N.mjs.map → chunk-PNQRS5EN.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JYBQAKSZ.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-IZX2J65Q.mjs";
|
|
6
6
|
import "./chunk-O6P37PFR.mjs";
|
|
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
|
|
|
13
13
|
export {
|
|
14
14
|
chat_default as default
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chat-
|
|
16
|
+
//# sourceMappingURL=chat-OSAVW6L2.mjs.map
|
|
@@ -2704,6 +2704,9 @@ function resolveTelemetryConfig(opts) {
|
|
|
2704
2704
|
if (!hasAuth && opts.banditApiKey) {
|
|
2705
2705
|
headers["Authorization"] = `Bearer ${opts.banditApiKey}`;
|
|
2706
2706
|
}
|
|
2707
|
+
if (!hasAuth && !opts.banditApiKey && /^https:\/\/otlp\.burtson\.ai$/i.test(endpoint)) {
|
|
2708
|
+
return null;
|
|
2709
|
+
}
|
|
2707
2710
|
const mode = opts.telemetry.mode ?? "metrics+traces";
|
|
2708
2711
|
return { endpoint, headers, mode, serviceName: opts.telemetry.serviceName ?? "bandit-web" };
|
|
2709
2712
|
}
|
|
@@ -11897,4 +11900,4 @@ export {
|
|
|
11897
11900
|
IS_STORE_BUILD,
|
|
11898
11901
|
chat_default
|
|
11899
11902
|
};
|
|
11900
|
-
//# sourceMappingURL=chunk-
|
|
11903
|
+
//# sourceMappingURL=chunk-JYBQAKSZ.mjs.map
|