getsentry / getsentry/sentry-python
Verify `Agent.run_sync()` and `pydantic_ai.direct.model_request()` span coverage
Đang mở
Python
Spans
Task
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 669
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 213
Mô tả
`Agent.run_sync()` is not directly patched but likely works transitively since it calls `Agent.run()` internally. This should be verified with a test.
`pydantic_ai.direct.model_request()` is a standalone LLM call API that bypasses Agent entirely. The `Model.request` patch in `patches/model_request.py` may catch the underlying call, but this also needs verification.
Both should have explicit tests confirming span creation.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.