getsentry / getsentry/sentry-python

huggingface_hub: Instrument AsyncInferenceClient

Aperta
#5,846 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Improvement Integration: HuggingFace Python Spans
Lingua principale
Python
Stelle
2.2k
Fork
669
Merge medio
1g 1h
PR unite (30g)
213

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.