Skip to content

bug: huggingface backend silently drops images and audio #1405

Closed

Description

@markstur

the new Ollama/Watsonx guards close the silent-drop gap, but the HF chat path (_generate_from_context → to_chat → apply_chat_template) still stringifies messages and drops a stray audio= silently, same as it already does for images=. Pre-existing image behavior, not a regression from this PR, so fine to leave — fast-follow issue if anyone wants parity. (LiteLLM is unaffected; it serializes audio via message_to_openai_message.)

Originally posted by @ajbozarth in #1396 (review)

Activity

  1. self-assigned this
    on Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions