@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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-F32P7Q5O.mjs";
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-MRDQ2WRJ.mjs.map
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-F32P7Q5O.mjs.map
11903
+ //# sourceMappingURL=chunk-JYBQAKSZ.mjs.map