@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/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IS_STORE_BUILD,
3
3
  chat_default
4
- } from "./chunk-F32P7Q5O.mjs";
4
+ } from "./chunk-JYBQAKSZ.mjs";
5
5
  import {
6
6
  chat_provider_default
7
7
  } from "./chunk-URZSIL7X.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  useGatewayMemory,
16
16
  useGatewayModels,
17
17
  useManagementAccess
18
- } from "./chunk-HSGQXL4N.mjs";
18
+ } from "./chunk-PNQRS5EN.mjs";
19
19
  import "./chunk-IZX2J65Q.mjs";
20
20
  import "./chunk-5KBTOCQZ.mjs";
21
21
  import "./chunk-O6P37PFR.mjs";
@@ -21318,6 +21318,9 @@ function resolveTelemetryConfig(opts) {
21318
21318
  if (!hasAuth && opts.banditApiKey) {
21319
21319
  headers["Authorization"] = `Bearer ${opts.banditApiKey}`;
21320
21320
  }
21321
+ if (!hasAuth && !opts.banditApiKey && /^https:\/\/otlp\.burtson\.ai$/i.test(endpoint)) {
21322
+ return null;
21323
+ }
21321
21324
  const mode = opts.telemetry.mode ?? "metrics+traces";
21322
21325
  return { endpoint, headers, mode, serviceName: opts.telemetry.serviceName ?? "bandit-web" };
21323
21326
  }