Skip to content

Commit 467f4db

Browse files
committed
fix: ensure default Qdrant URL is used when none is provided
1 parent 8c11bba commit 467f4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/code-index/vector-store/qdrant-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class QdrantVectorStore implements IVectorStore {
2424
* @param url Optional URL to the Qdrant server
2525
*/
2626
constructor(workspacePath: string, url: string, vectorSize: number, apiKey?: string) {
27-
this.qdrantUrl = url
27+
this.qdrantUrl = url || "http://localhost:6333"
2828
this.client = new QdrantClient({
2929
url: this.qdrantUrl,
3030
apiKey,

0 commit comments

Comments
 (0)