Skip to content

Commit

Permalink
fix(agents-api): fix get_doc duplicating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad-mtos authored and whiterabbit1983 committed Jan 28, 2025
1 parent 12b8eb5 commit 9d000db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agents-api/agents_api/queries/docs/get_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
LEFT JOIN docs_embeddings e
ON d.doc_id = e.doc_id
AND e.embedding IS NOT NULL
AND d.index = e.index
WHERE d.developer_id = $1
AND d.doc_id = $2
GROUP BY
Expand Down

0 comments on commit 9d000db

Please sign in to comment.