getsentry / getsentry/sentry-python

huggingface_hub: Instrument AsyncInferenceClient

Offen
#5,846 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.