getsentry / getsentry/sentry-python
huggingface_hub: Instrument AsyncInferenceClient
Offen
Improvement
Integration: HuggingFace
Python
Spans
- Vorherrschende Sprache
- Python
- Sterne
- 2.2k
- Forks
- 669
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 213
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.