Skip to content

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

@ericapisani

Description

@ericapisani

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.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions