Skip to content

bug(knowledge): audio and video transcription has no installed engine, because openai-whisper is declared in no requirements file #19863

Open

Description

@mrveiss

Problem

Knowledge-base audio and video ingest fails on every install method: the CPU transcriber imports a package that no install path provides, and no NPU model ships either.

Evidence

  • autobot-backend/knowledge/connectors/audio_connector.py:110 import whisper; :112 raises RuntimeError("whisper package not installed. Run: pip install openai-whisper").
  • openai-whisper appears in 0 requirement files (only comments and tests).
  • autobot-backend/requirements-media.txt:24 (librosa) has no installer reader: outside the requirements files it is read only by repo_tests/hard_optional_dependency_declared_test.py:94; docker/backend/Dockerfile:52-54 and the backend role install requirements.txt only.

Related, not covering: #17527 (KB basics), #17778 (two whisper defaults), #18014.

Acceptance criteria

  • The transcription engine the connector imports is declared once in a requirements file every install method installs (native, Docker, fleet).
  • requirements-media.txt is installed by those paths, or its contents move to a file that is.
  • A test fails if the connector imports a package that no installed requirements file declares.

Found by the out-of-box default-install audit; verified on main at 248a8dd.

Parent: #19739.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions