@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
|
@@ -9516,7 +9516,7 @@ function useManagementAccess() {
|
|
|
9516
9516
|
|
|
9517
9517
|
// src/management/management.tsx
|
|
9518
9518
|
import { jsx as jsx17, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
9519
|
-
var preloadChatPage = () => import("./chat-
|
|
9519
|
+
var preloadChatPage = () => import("./chat-OSAVW6L2.mjs");
|
|
9520
9520
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9521
9521
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9522
9522
|
if (trimmed.endsWith("/api")) {
|
|
@@ -10572,4 +10572,4 @@ export {
|
|
|
10572
10572
|
useManagementAccess,
|
|
10573
10573
|
management_default
|
|
10574
10574
|
};
|
|
10575
|
-
//# sourceMappingURL=chunk-
|
|
10575
|
+
//# sourceMappingURL=chunk-PNQRS5EN.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -19644,6 +19644,9 @@ function resolveTelemetryConfig(opts) {
|
|
|
19644
19644
|
if (!hasAuth && opts.banditApiKey) {
|
|
19645
19645
|
headers["Authorization"] = `Bearer ${opts.banditApiKey}`;
|
|
19646
19646
|
}
|
|
19647
|
+
if (!hasAuth && !opts.banditApiKey && /^https:\/\/otlp\.burtson\.ai$/i.test(endpoint)) {
|
|
19648
|
+
return null;
|
|
19649
|
+
}
|
|
19647
19650
|
const mode = opts.telemetry.mode ?? "metrics+traces";
|
|
19648
19651
|
return { endpoint, headers, mode, serviceName: opts.telemetry.serviceName ?? "bandit-web" };
|
|
19649
19652
|
}
|