Agentflow icon indicating copy to clipboard operation
Agentflow copied to clipboard

[Bug]: Incompatible qdrant-client version installed with 10xgraph[qdrant]

Open Kamalesh1544 opened this issue 3 weeks ago • 1 comments

What happened?

When installing 10xgraph[qdrant] for the first time, it automatically installs qdrant-client==1.20.0.

However, the current 10xGraph Qdrant integration is not compatible with this version.

When performing a memory search, the application raises the following error:

AttributeError: 'AsyncQdrantClient' object has no attribute 'search'

The error occurs because the implementation in qdrant_store.py calls self.client.search(), which is not available in the installed Qdrant client version.

Expected behavior:

10xgraph[qdrant] should install a compatible version of qdrant-client.

Alternatively, the 10xGraph Qdrant integration should be updated to support the latest Qdrant client API.

Actual behavior:

Initial installation resolves qdrant-client==1.20.0.

Memory search fails with an AttributeError.

Manually downgrading to qdrant-client==1.15.1 resolves the issue.

Minimal reproduction

1. Create a Python 3.12 virtual environment.
2. Install the Qdrant integration:

uv pip install "10xgraph[qdrant]"

3. Check the installed Qdrant client version:

uv pip show qdrant-client

The installed version is 1.20.0.
4. Configure Qdrant and execute a memory search using the 10xGraph store integration.
5. The following error occurs:

AttributeError: 'AsyncQdrantClient' object has no attribute 'search'

6. Downgrade the Qdrant client:

uv pip install "qdrant-client==1.15.1"

7. Retry the memory search. It works successfully.

10xgraph version

0.10.3

Python version

3.12.13

LLM provider

Google GenAI (Gemini)

Relevant logs / traceback

File "tenxgraph_api/src/app/routers/store/router.py", line 70, in search_memories
    result = await service.search_memories(payload, user)

File "tenxgraph_api/src/app/routers/store/services/store_service.py", line 116, in search_memories
    results = await store.asearch(

File "tenxgraph/storage/store/qdrant_store.py", line 489, in asearch
    search_result = await self.client.search(

AttributeError: 'AsyncQdrantClient' object has no attribute 'search'

Kamalesh1544 avatar Nov 12 '26 12:11 Kamalesh1544

I looked into this against the current code before attempting a fix, and the incompatibility from the report does not reproduce on main:

  • The released 0.10.3 code called self.client.search(...), but main already uses query_points in tenxgraph/storage/store/qdrant_store.py (the code even notes "query_points replaced search in qdrant-client 1.10").
  • I installed a fresh environment with qdrant-client 1.20.0 (the version a new 10xgraph[qdrant] install resolves today) and ran the store tests: tests/store/test_qdrant_store.py — 49 passed, 3 skipped, including the end-to-end tests that run against a real local (:memory:) client.
  • Every client method and model the store uses (query_points, upsert, retrieve, scroll, create_payload_index, Filter, PointStruct, ...) is present in 1.20.0.

So the code on main already supports the latest client, and pinning qdrant-client below 1.16 (the workaround that fits 0.10.3) would cap it unnecessarily. This looks fixed on main and just needs a release that includes the query_points migration — closing as already resolved seems right, but leaving that call to the maintainers.

tylrcc avatar Nov 12 '26 19:11 tylrcc