Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[bot] Instrument BAML (275,854 weekly downloads)

Đã đóng
#2,604 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

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-runtime across 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của braintrustdata/braintrust-sdk-javascript

Tất cả issue của braintrustdata/braintrust-sdk-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.