`pydantic-ai`: Set request parameters

Đang mở
#8,015 1 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.

  • #8063 của @ansh-rohilla — đã đóng, không merge

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
59/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ệ
python
Lĩnh vực
observability

Hướng nghiên cứu

Start by locating the pydantic-ai integration and how it records request attributes. Check which of the listed gen_ai.request.* values are available from the request, then verify that available values are captured and absent ones are handled as optional; the issue lists the attributes but does not name files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Improvement Python Spans

Set these attributes if available

#### Configuration Attributes

| Attribute | Required |
|---|---|
| `gen_ai.request.max_tokens` | Required if provided |
| `gen_ai.request.seed` | Required if provided |
| `gen_ai.request.frequency_penalty` | Required if provided |
| `gen_ai.request.presence_penalty` | Required if provided |
| `gen_ai.request.temperature` | Required if provided |
| `gen_ai.request.top_p` | Required if provided |
| `gen_ai.request.top_k` | Required if provided |
Ngôn ngữ chính
Python
Star
2.2k
Fork
713
Merge trung bình
1 ngày 16 phút
Pull request đã merge (30 ngày)
113

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 getsentry/sentry-python

Tất cả issue của getsentry/sentry-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.