getsentry / getsentry/sentry-python

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

Open
#5,848 1 comment 0 reactions 0 assignees View on GitHub
Improvement Integration: HuggingFace Python Spans
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.