@bitfab/sdk 0.34.1 → 0.36.0
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/README.md +0 -17
- package/dist/{chunk-5ZMEY5NX.js → chunk-4YTIVUYX.js} +307 -208
- package/dist/chunk-4YTIVUYX.js.map +1 -0
- package/dist/{chunk-KO373TDH.js → chunk-JECWMVJG.js} +3 -3
- package/dist/index.cjs +328 -213
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -4
- package/dist/index.d.ts +11 -4
- package/dist/index.js +2 -2
- package/dist/node.cjs +328 -213
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +2 -2
- package/dist/{replay-YI2BUPCV.js → replay-CVMULH7T.js} +2 -2
- package/package.json +1 -2
- package/dist/chunk-5ZMEY5NX.js.map +0 -1
- /package/dist/{chunk-KO373TDH.js.map → chunk-JECWMVJG.js.map} +0 -0
- /package/dist/{replay-YI2BUPCV.js.map → replay-CVMULH7T.js.map} +0 -0
package/README.md
CHANGED
|
@@ -104,22 +104,6 @@ pnpm add bitfab @openai/agents
|
|
|
104
104
|
|
|
105
105
|
The `@openai/agents` package is an optional peer dependency - the SDK works fine without it unless you need tracing functionality.
|
|
106
106
|
|
|
107
|
-
### With an OpenTelemetry Collector
|
|
108
|
-
|
|
109
|
-
Spans are batched and delivered through a private OpenTelemetry pipeline that
|
|
110
|
-
the SDK owns. Direct delivery to Bitfab is the default and needs no extra
|
|
111
|
-
configuration.
|
|
112
|
-
|
|
113
|
-
To route traces through an OTel Collector instead, set the receiver URL:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
BITFAB_OTEL_EXPORTER_ENDPOINT=http://localhost:4318
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
The protobuf exporter Collector mode uses ships with the SDK and is code-split,
|
|
120
|
-
so it loads only when you set an endpoint. See [OpenTelemetry Transport
|
|
121
|
-
Architecture](https://docs.bitfab.ai/otel-architecture) for the full model.
|
|
122
|
-
|
|
123
107
|
## Local Development
|
|
124
108
|
|
|
125
109
|
```bash
|
|
@@ -277,7 +261,6 @@ When `executeLocally: false`, the SDK:
|
|
|
277
261
|
|
|
278
262
|
- `BITFAB_URL`: The base URL for the Bitfab API (used if `serviceUrl` is not provided)
|
|
279
263
|
- `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, etc.: LLM provider API keys (required for local execution)
|
|
280
|
-
- `BITFAB_OTEL_EXPORTER_ENDPOINT`: OTLP/HTTP Collector base URL; unset means batches go directly to Bitfab
|
|
281
264
|
- `BITFAB_OTEL_MAX_REQUEST_BYTES`: request-size target for exports (positive integer up to `3000000`)
|
|
282
265
|
- `BITFAB_OTEL_EXPORT_CONCURRENCY`: concurrent direct requests per export window (`1`-`64`, default `32`)
|
|
283
266
|
|