can't get qdrant embedding to work #12276
Replies: 2 comments 1 reply
-
|
The two things in your config are doing different jobs and the error is telling you which one is failing. 1. The MCP server you wired in ( 2. The
# verify
node --version # need v18+If you can't upgrade Node globally, switch to the mcpServers:
- name: qdrant-server
type: stdio
command: uvx
args: ["mcp-server-qdrant"]
env:
QDRANT_URL: "http://192.168.x.x:6333"
COLLECTION_NAME: "memory"
EMBEDDING_MODEL: "sentence-transformers/all-MiniLM-L6-v2"
3. If what you actually wanted was Continue using Qdrant for its codebase RAG, that is a different config block. Continue's embeddingsProvider:
provider: ollama
model: nomic-embed-text
docs:
- title: my-codebase
startUrl: ./Continue stores those embeddings in its local LanceDB by default; it does not currently use Qdrant as the codebase index backend (only as MCP memory). If you specifically need Qdrant as the codebase store, that's a feature request rather than a config issue. 4. Sanity check - what the MCP server actually does after you fix the transport. Once These are agent-callable tools, not embedding endpoints. The model uses them to remember facts between sessions, not to index your code. 5. If you actually want a "Cursor-like" working setup with Continue + Ollama + Qdrant: models:
- name: codestral
provider: ollama
model: codestral:22b
roles: [chat, edit, apply]
embeddingsProvider:
provider: ollama
model: nomic-embed-text
mcpServers:
- name: qdrant-memory
type: stdio
command: uvx
args: ["mcp-server-qdrant"]
env:
QDRANT_URL: "http://192.168.x.x:6333"
COLLECTION_NAME: "continue-memory"This gets you: Codestral on Ollama for completion + Continue's built-in indexer for codebase RAG + Qdrant as MCP memory for agent state. Recipe: confirm Node 18+ -> use |
Beta Was this translation helpful? Give feedback.
-
|
You need to define a global if (typeof fetch !== 'function') {
global.fetch = require('node-fetch');
}This ensures |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Do not really have much experience with using AI coding. Getting this error. Afaik qdrant only supports store and find.
Failed to connect to "qdrant-server" Error: fetch is not defined
Beta Was this translation helpful? Give feedback.
All reactions