Skip to content

[Bug]: extra_headers are dropped from an embeddings request when provider is hosted_vllm/openai_like #13088

@spacesphere

Description

@spacesphere

What happened?

When provider is set to hosted_vllm/openai_like, embeddings requests are missing custom headers (see the code - no handling of extra_headers).

Relevant log output

Are you a ML Ops Team?

Yes

What LiteLLM version are you on ?

v.1.74.9

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions