Skip to content

[BUG] Index uses 2048-dimensional vectors, but Qdrant logs report receiving 1024 #10884

@qq1792569310

Description

@qq1792569310

Problem (one or two sentences)

I configured 2048 dimensions on roocode, but I don't know why Qdrant reports receiving 1024 dimensions.

Context (who is affected and when)

I use Alibaba Cloud's text-embedding-v4 model(base url:https://dashscope.aliyuncs.com/compatible-mode/v1), the model dimension is set to 2048, Qdrant uses the free product provided by qdrant.io. Indexing failed twice in a row, with dimension mismatch logs appearing.

I now manually set the dimension to 1024 on roocode, and indexing succeeded on the first try.

Reproduction steps

1、Configure Alibaba Cloud's text-embedding-v4 model, and set the dimension to 2048 on roocode
2、Configure qdrant.io's free product
3、Start indexing

Expected result

Indexing succeeds

Actual result

Indexing fails

Variations tried (optional)

No response

App Version

3.41.3

API Provider (optional)

None

Model Used (optional)

N/A

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions