-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.bugSomething isn't workingSomething isn't working
Description
App Version
v3.23.6
API Provider
Google Gemini
Model Used
text-embedding-004
Roo Code Task Links (Optional)
No response
π Steps to Reproduce
- setup(macOS, roo code v3.23.6)
- Select Google Gemini as the embedding model provider
- Choose text-embedding-004 as the embedding model
- Qdrant can be selected locally or in the cloud
- Save and start building the index
- The number of discoveries is normal, but the number of completed ones remains at 0.
π₯ Outcome Summary
I tried both the ollama and Google Gemini embedding models, but both failed. Checking the logs revealed that the vector dimension was required to be 1536. Eventually, I switched to OpenAI's text-embedding-3-small model, and everything worked fine.
I hope to use other embedding modes instead of being limited to models with a vector dimension of 1536.
π Relevant Logs or Errors (Optional)
Qdrant Logs:
2025-07-10T13:39:33.516083Z WARN collection::shards::replica_set::update: Failed to update shard ws-7d00c287d41ff44f:0 on peer 4890243171819253, error: Wrong input: Vector dimension error: expected dim: 1536, got 768
2025-07-10T13:39:33.516336Z INFO actix_web::middleware::logger: 192.168.65.1 "PUT /collections/ws-7d00c287d41ff44f/points?wait=true HTTP/1.1" 400 111 "-" "Roo-Code" 0.012018
2025-07-10T13:39:33.734444Z WARN collection::collection_manager::collection_updater: Update operation declined: Wrong input: Vector dimension error: expected dim: 1536, got 768
2025-07-10T13:39:33.734513Z WARN collection::shards::replica_set::update: Failed to update shard ws-7d00c287d41ff44f:0 on peer 4890243171819253, error: Wrong input: Vector dimension error: expected dim: 1536, got 768
2025-07-10T13:39:33.734693Z INFO actix_web::middleware::logger: 192.168.65.1 "PUT /collections/ws-7d00c287d41ff44f/points?wait=true HTTP/1.1" 400 111 "-" "Roo-Code" 0.008853
2025-07-10T13:39:33.754102Z WARN collection::collection_manager::collection_updater: Update operation declined: Wrong input: Vector dimension error: expected dim: 1536, got 768
2025-07-10T13:39:33.754166Z WARN collection::shards::replica_set::update: Failed to update shard ws-7d00c287d41ff44f:0 on peer 4890243171819253, error: Wrong input: Vector dimension error: expected dim: 1536, got 768
2025-07-10T13:39:33.754347Z INFO actix_web::middleware::logger: 192.168.65.1 "PUT /collections/ws-7d00c287d41ff44f/points?wait=true HTTP/1.1" 400 110 "-" "Roo-Code" 0.008354dosubot and d-enk
Metadata
Metadata
Assignees
Labels
Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done