Skip to content

bug(multimodal): POST /search/cross-modal turns an embedding refusal into an empty 200 #18269

Open

Description

@mrveiss

Defect

autobot-backend/api/multimodal.py cross_modal_search catches Exception and returns CrossModalSearchResponse(results={}, total_found=0). After PR #18230, NPUSemanticSearch.cross_modal_search raises EmbeddingUnavailableError, because none of the accelerator collections has a recorded embedding space (#18217). The route therefore reports an engine refusal as "no matches", which is the silent degradation #18185 forbids.

This was not fixed in #18230: open PR #18236 owns api/multimodal.py (same-file rule).

Acceptance criteria

Refs #18185, #18217, #18230.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions