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

anthropic: log requested speed parameter in span metadata

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

Maintainer thường phản hồi trong vòng 1 ngày

@AbhiPrasad đang làm issue này rồi.

Từ ngày 19/10/2026.

  • #986 của @AbhiPrasad — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

feature integration: anthropic python

Upstream: speed became a regular messages.create parameter in anthropic 1.15.0.

Today: We already log the response's usage.speed (py/src/braintrust/integrations/anthropic/_utils.py:35), but METADATA_PARAMS (py/src/braintrust/integrations/anthropic/tracing.py:66) doesn't include speed, so the speed the user asked for is dropped from span metadata.

Change: Add speed to METADATA_PARAMS, plus an assertion in the existing cassette-backed test that already passes speed="standard" (test_anthropic.py:297).

Effort: Trivial.

Ngôn ngữ chính
Python
Star
22
Fork
27
Merge trung bình
12 giờ 28 phút
Pull request đã merge (30 ngày)
139

Chuẩn bị môi trường

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-python

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

Issue tương tự

Thêm issue về Python

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.