[bot] Instrument BAML (275,854 weekly downloads)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- observability
Hướng nghiên cứu
Start by reading js/src/auto-instrumentations/configs/all.ts and js/src/span-origin.ts, then inspect existing instrumentation and end-to-end scenarios under e2e/scenarios/ for their patterns. Add coverage for generated BAML calls, its lower-level request API, and tool-calling flows; done means these execution paths produce Braintrust spans and the integration has end-to-end scenario coverage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
@boundaryml/baml is the TypeScript runtime for BAML (Basically A Made-up Language), BoundaryML's typed language for defining LLM functions. BAML functions compile to generated TS client code; calling a generated function drives BAML's own runtime, which renders the prompt, builds the HTTP request, calls the configured LLM provider (OpenAI, Anthropic, and others), streams the response, and schema-aligned-parses the result into a typed output — including tool/function-calling flows. None of this execution surface produces any Braintrust spans today, and the library is entirely absent from this repo.
What's missing
- Generated BAML function calls (the high-level API:
b.FunctionName(...)/.stream()), which perform the actual prompt render → LLM request → response parse cycle — this is the model-execution surface. - BAML's lower-level API (
b.request.FunctionName(...)/ response parsers) for callers that build the HTTP request/response handling themselves. - Tool-calling support inside BAML functions (functions that return structured tool-call objects based on an LLM response).
None of baml, boundaryml, BamlRuntime, or baml_client (case-insensitive) appear anywhere in js/src/, js/src/auto-instrumentations/configs/all.ts (the instrumentation registry), js/src/span-origin.ts (INSTRUMENTATION_NAMES), or any e2e/scenarios/* directory.
Weekly downloads
Weekly downloads: 275,854 (as of 2026-10-12; window 2026-10-04–2026-10-10; source https://api.npmjs.org/downloads/point/last-week/@boundaryml/baml)
Braintrust docs status
not_found — Checked https://www.braintrust.dev/docs/guides/traces/integrations (full enumerated list of tracing integrations: OpenTelemetry, Temporal, Vercel AI SDK, OpenRouter, LangChain, LangChain4j, LangSmith, LlamaIndex, Apollo GraphQL, Cloudflare Workers AI, DSPy, Google Discovery Engine, Instructor, LiteLLM, Ruby LLM, Spring AI, Traceloop, TrueFoundry — plus the separate agent-framework list) and https://www.braintrust.dev/docs (general docs search) — no mention of BAML or BoundaryML anywhere.
Upstream sources
- https://www.npmjs.com/package/@boundaryml/baml
- https://github.com/BoundaryML/baml
- https://docs.boundaryml.com/guide/installation-language/typescript
- https://docs.boundaryml.com/guide/baml-advanced/modular-api
Local repo files inspected
js/src/auto-instrumentations/configs/all.ts(full instrumentation registry — no BAML entry)js/src/span-origin.ts(INSTRUMENTATION_NAMES— no BAML entry)- Repo-wide case-insensitive search for
baml/boundaryml/bedrock-agent-runtimeacross the working tree (zero relevant matches for BAML) e2e/scenarios/directory listing (no BAML-named scenario)
- Ngôn ngữ chính
- TypeScript
- Star
- 29
- Fork
- 16
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 69
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của braintrustdata/braintrust-sdk-javascript
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
braintrustdata/braintrust-sdk-javascript#2619 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
braintrustdata/braintrust-sdk-javascript#2618 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
braintrustdata/braintrust-sdk-javascript#2605 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
braintrustdata/braintrust-sdk-javascript#2603 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của braintrustdata/braintrust-sdk-javascript
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
one-zero-eight/apply-bot#39 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bigbluebutton/bbb-ui-components-react#108 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
high priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
CI-CMG/deep-sea-corals-exb#84 · 1 bình luận ·