refactor: update to Qdrant query_points API and fix Playwright Keycloak login

- Replace deprecated qdrant_client.search() with query_points() API
- Update semantic search implementation in notes.py
- Update all integration tests to use query_points()
- Fix Keycloak login in test_keycloak_dcr.py to use form.submit() instead of button click
- Remove unnecessary popup handler code
- Simplify consent screen logging
This commit is contained in:
Chris Coutinho
2025-11-08 22:41:14 +01:00
parent e96c02e4d4
commit 1a57f97d3a
3 changed files with 33 additions and 31 deletions
+3 -3
View File
@@ -414,9 +414,9 @@ def configure_notes_tools(mcp: FastMCP):
# Search Qdrant with user filtering
qdrant_client = await get_qdrant_client()
search_results = await qdrant_client.search(
search_response = await qdrant_client.query_points(
collection_name=settings.qdrant_collection,
query_vector=query_embedding,
query=query_embedding,
query_filter=Filter(
must=[
FieldCondition(
@@ -439,7 +439,7 @@ def configure_notes_tools(mcp: FastMCP):
seen_note_ids = set()
results = []
for result in search_results:
for result in search_response.points:
note_id = int(result.payload["doc_id"])
# Skip if we've already seen this note