getsentry / getsentry/sentry-python

huggingface_hub: Instrument chat.completions.create() OpenAI-compatible alias

Aperta
#5,848 1 commento 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

HuggingFace exposes `InferenceClient.chat.completions.create()` as an OpenAI-compatible alias. This bypasses the patched `chat_completion` method, so calls through this path go uninstrumented.

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.