getsentry / getsentry/sentry-python
huggingface_hub: Instrument AsyncInferenceClient
Open
Improvement
Integration: HuggingFace
Python
Spans
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 669
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 213
Description
The integration only wraps sync `InferenceClient.text_generation` and `InferenceClient.chat_completion`. The `AsyncInferenceClient` has identical methods as async coroutines and is completely uninstrumented. Every other major AI integration (OpenAI, Anthropic, LangChain) instruments both sync and async variants.
Contributor guide
Assessment
This issue has not been assessed yet.