Skip to content

bug: knowledge add index-type best failing on linux #3139

Open

Description

@van-vothanh

Checks

Operating system

Ubuntu

Expected behaviour

User should be able to add a new file to the /knowledge base with Best index type regardless of their machine's operating system

Actual behaviour

/knowledge add <filename> --index-type Best would result in Error: Failed to add: Invalid embedding type 'Best'. Valid options are: fast, best on Linux, even after changing to best (lowercase). The same command works perfectly fine on macOS

Steps to reproduce

/knowledge add <filename> --index-type Best
or
/knowledge add <filename> --index-type best

Environment

[q-details]
version="1.17.1"
hash="52301a3b0f81abff5ecde04a02481734c5c7ecc4"
date="2025-09-30T22:23:06.501414Z+(9d+ago)"
variant="minimal"

[system-info]
chip=""
total-cores=2
memory="7.74+GB"

[system-info.os.linux]
kernel_version="6.8.1-1015-realtime"
id="ubuntu"
name="Ubuntu"
pretty_name="Ubuntu+24.04.2+LTS"
version_id="24.04"
version="24.04.2+LTS+(Noble+Numbat)"

[environment]
cwd="/home/USER"
cli-path="/home/USER"
os="Linux"
shell-path="/usr/bin/zsh"
shell-version="5.9"
install-method="unknown"

Activity

  1. added
    bugSomething isn't working
    q chatRelated to the Q agentic chat experience
    on Oct 10, 2025
  2. kensave commented on Oct 21, 2025

    @kensave
    Contributor

    Does /knowledge add --index-type fast work?

    I was not able to reproduce in version 1.18.1 in Linux.

    There were some compatibility issues with Linux Arm arch. Can we verify the CPU arch?

  3. van-vothanh commented on Oct 22, 2025

    @van-vothanh
    MemberAuthor

    this happened on an arm64 linux installation, and no /knowledge add --index-type fast also yielded the same error. however /knowledge add without specifying index-type worked

  4. added a commit that references this issue on Apr 4, 2026
    722ae37
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

    bugSomething isn't workingq chatRelated to the Q agentic chat experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions