Skip to content

feat(kb): an options endpoint listing the embedding-capable models available now #19378

Closed

Description

@mrveiss

Part of #19373. Blocked by the resolver child (the response marks the active model).

An endpoint returns the embedding models the user can switch to right now:

  • the configured providers' models (model_manager_service.get_available_models, Ollama /api/tags), filtered by the canonical is_embedding_model_id;
  • the active model marked as active;
  • each option with its vector dimension where known.

GET /api/llm/embedding/models (llm.py:270, which uses its own EMBEDDING_MODEL_PATTERNS and a hard-coded fallback list) and GET /api/embeddings/models (settings.json lists) are consolidated into it, not kept beside it.

Acceptance criteria

  • Chat models (e.g. phi3:mini) never appear (test).
  • The active model is marked.
  • The two older listing endpoints are consolidated (redirected or removed, stated in the PR).

Activity

  1. added
    enhancementNew feature or request
    phase:M1.4Wizard and SLM: choose a mode, apply it, default models work
    on Oct 23, 2026
  2. mrveiss commented on Oct 24, 2026

    @mrveiss
    OwnerAuthor

    Follow-up recorded from the PR now opening: LLMEmbeddingModelsResponse (autobot-backend/api/schemas_agent.py) has no references once GET /api/llm/embedding/models redirects. schemas_agent.py is in open #19374, so per the one-PR-per-file rule I'll remove the class once #19374 lands. Also, dimension is null in the options for now: nothing measures a model's width before it embeds. #19379's switch flow embeds once and can record it.

  3. mrveiss commented on Oct 26, 2026

    @mrveiss
    OwnerAuthor

    Closing: delivered by #19509, which landed in train 85j (merge 8c511bf). The PR's Closes didn't fire because it merged inside a train. All three ACs are ticked, with evidence on origin/main:

  4. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    Landed in train train-2026-10-28-86b (#19880, merge 0b473f2ed5) via #19641

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

    backendenhancementNew feature or requestphase:M1.4Wizard and SLM: choose a mode, apply it, default models work

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions