@@ -79,7 +79,7 @@ describe("QdrantVectorStore", () => {
7979 port : 6333 ,
8080 apiKey : mockApiKey ,
8181 headers : {
82- "User-Agent" : "Roo -Code" ,
82+ "User-Agent" : "Zoo -Code" ,
8383 } ,
8484 } )
8585 expect ( createHash ) . toHaveBeenCalledWith ( "sha256" )
@@ -98,7 +98,7 @@ describe("QdrantVectorStore", () => {
9898 port : 6333 ,
9999 apiKey : undefined ,
100100 headers : {
101- "User-Agent" : "Roo -Code" ,
101+ "User-Agent" : "Zoo -Code" ,
102102 } ,
103103 } )
104104 } )
@@ -112,7 +112,7 @@ describe("QdrantVectorStore", () => {
112112 port : 6333 ,
113113 apiKey : undefined ,
114114 headers : {
115- "User-Agent" : "Roo -Code" ,
115+ "User-Agent" : "Zoo -Code" ,
116116 } ,
117117 } )
118118 } )
@@ -132,7 +132,7 @@ describe("QdrantVectorStore", () => {
132132 prefix : undefined , // No prefix for root path
133133 apiKey : undefined ,
134134 headers : {
135- "User-Agent" : "Roo -Code" ,
135+ "User-Agent" : "Zoo -Code" ,
136136 } ,
137137 } )
138138 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "https://qdrant.ashbyfam.com" )
@@ -147,7 +147,7 @@ describe("QdrantVectorStore", () => {
147147 prefix : undefined , // No prefix for root path
148148 apiKey : undefined ,
149149 headers : {
150- "User-Agent" : "Roo -Code" ,
150+ "User-Agent" : "Zoo -Code" ,
151151 } ,
152152 } )
153153 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "https://example.com:9000" )
@@ -166,7 +166,7 @@ describe("QdrantVectorStore", () => {
166166 prefix : "/api/v1" , // Should have prefix
167167 apiKey : undefined ,
168168 headers : {
169- "User-Agent" : "Roo -Code" ,
169+ "User-Agent" : "Zoo -Code" ,
170170 } ,
171171 } )
172172 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "https://example.com/api/v1?key=value" )
@@ -183,7 +183,7 @@ describe("QdrantVectorStore", () => {
183183 prefix : undefined , // No prefix for root path
184184 apiKey : undefined ,
185185 headers : {
186- "User-Agent" : "Roo -Code" ,
186+ "User-Agent" : "Zoo -Code" ,
187187 } ,
188188 } )
189189 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://example.com" )
@@ -198,7 +198,7 @@ describe("QdrantVectorStore", () => {
198198 prefix : undefined , // No prefix for root path
199199 apiKey : undefined ,
200200 headers : {
201- "User-Agent" : "Roo -Code" ,
201+ "User-Agent" : "Zoo -Code" ,
202202 } ,
203203 } )
204204 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://localhost:8080" )
@@ -217,7 +217,7 @@ describe("QdrantVectorStore", () => {
217217 prefix : "/api/v1" , // Should have prefix
218218 apiKey : undefined ,
219219 headers : {
220- "User-Agent" : "Roo -Code" ,
220+ "User-Agent" : "Zoo -Code" ,
221221 } ,
222222 } )
223223 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://example.com/api/v1?key=value" )
@@ -233,7 +233,7 @@ describe("QdrantVectorStore", () => {
233233 port : 80 ,
234234 apiKey : undefined ,
235235 headers : {
236- "User-Agent" : "Roo -Code" ,
236+ "User-Agent" : "Zoo -Code" ,
237237 } ,
238238 } )
239239 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://qdrant.example.com" )
@@ -247,7 +247,7 @@ describe("QdrantVectorStore", () => {
247247 port : 6333 ,
248248 apiKey : undefined ,
249249 headers : {
250- "User-Agent" : "Roo -Code" ,
250+ "User-Agent" : "Zoo -Code" ,
251251 } ,
252252 } )
253253 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://localhost:6333" )
@@ -261,7 +261,7 @@ describe("QdrantVectorStore", () => {
261261 port : 9000 ,
262262 apiKey : undefined ,
263263 headers : {
264- "User-Agent" : "Roo -Code" ,
264+ "User-Agent" : "Zoo -Code" ,
265265 } ,
266266 } )
267267 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://localhost:9000" )
@@ -277,7 +277,7 @@ describe("QdrantVectorStore", () => {
277277 port : 80 ,
278278 apiKey : undefined ,
279279 headers : {
280- "User-Agent" : "Roo -Code" ,
280+ "User-Agent" : "Zoo -Code" ,
281281 } ,
282282 } )
283283 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://192.168.1.100" )
@@ -291,7 +291,7 @@ describe("QdrantVectorStore", () => {
291291 port : 6333 ,
292292 apiKey : undefined ,
293293 headers : {
294- "User-Agent" : "Roo -Code" ,
294+ "User-Agent" : "Zoo -Code" ,
295295 } ,
296296 } )
297297 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://192.168.1.100:6333" )
@@ -307,7 +307,7 @@ describe("QdrantVectorStore", () => {
307307 port : 6333 ,
308308 apiKey : undefined ,
309309 headers : {
310- "User-Agent" : "Roo -Code" ,
310+ "User-Agent" : "Zoo -Code" ,
311311 } ,
312312 } )
313313 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://localhost:6333" )
@@ -321,7 +321,7 @@ describe("QdrantVectorStore", () => {
321321 port : 6333 ,
322322 apiKey : undefined ,
323323 headers : {
324- "User-Agent" : "Roo -Code" ,
324+ "User-Agent" : "Zoo -Code" ,
325325 } ,
326326 } )
327327 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://localhost:6333" )
@@ -335,7 +335,7 @@ describe("QdrantVectorStore", () => {
335335 port : 6333 ,
336336 apiKey : undefined ,
337337 headers : {
338- "User-Agent" : "Roo -Code" ,
338+ "User-Agent" : "Zoo -Code" ,
339339 } ,
340340 } )
341341 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://localhost:6333" )
@@ -351,7 +351,7 @@ describe("QdrantVectorStore", () => {
351351 port : 80 ,
352352 apiKey : undefined ,
353353 headers : {
354- "User-Agent" : "Roo -Code" ,
354+ "User-Agent" : "Zoo -Code" ,
355355 } ,
356356 } )
357357 expect ( ( vectorStore as any ) . qdrantUrl ) . toBe ( "http://invalid-url-format" )
@@ -373,7 +373,7 @@ describe("QdrantVectorStore", () => {
373373 prefix : "/some/path" ,
374374 apiKey : undefined ,
375375 headers : {
376- "User-Agent" : "Roo -Code" ,
376+ "User-Agent" : "Zoo -Code" ,
377377 } ,
378378 } )
379379 expect ( ( vectorStoreWithPrefix as any ) . qdrantUrl ) . toBe ( "http://localhost:6333/some/path" )
@@ -392,7 +392,7 @@ describe("QdrantVectorStore", () => {
392392 prefix : undefined ,
393393 apiKey : undefined ,
394394 headers : {
395- "User-Agent" : "Roo -Code" ,
395+ "User-Agent" : "Zoo -Code" ,
396396 } ,
397397 } )
398398 expect ( ( vectorStoreWithoutPrefix as any ) . qdrantUrl ) . toBe ( "http://localhost:6333/" )
@@ -411,7 +411,7 @@ describe("QdrantVectorStore", () => {
411411 prefix : "/api" ,
412412 apiKey : undefined ,
413413 headers : {
414- "User-Agent" : "Roo -Code" ,
414+ "User-Agent" : "Zoo -Code" ,
415415 } ,
416416 } )
417417 expect ( ( vectorStoreWithHttpsPrefix as any ) . qdrantUrl ) . toBe ( "https://qdrant.ashbyfam.com/api" )
@@ -430,7 +430,7 @@ describe("QdrantVectorStore", () => {
430430 prefix : "/api" , // Trailing slash should be removed
431431 apiKey : undefined ,
432432 headers : {
433- "User-Agent" : "Roo -Code" ,
433+ "User-Agent" : "Zoo -Code" ,
434434 } ,
435435 } )
436436 expect ( ( vectorStoreWithTrailingSlash as any ) . qdrantUrl ) . toBe ( "http://localhost:6333/api/" )
@@ -449,7 +449,7 @@ describe("QdrantVectorStore", () => {
449449 prefix : "/api" , // All trailing slashes should be removed
450450 apiKey : undefined ,
451451 headers : {
452- "User-Agent" : "Roo -Code" ,
452+ "User-Agent" : "Zoo -Code" ,
453453 } ,
454454 } )
455455 expect ( ( vectorStoreWithMultipleTrailingSlashes as any ) . qdrantUrl ) . toBe ( "http://localhost:6333/api///" )
@@ -468,7 +468,7 @@ describe("QdrantVectorStore", () => {
468468 prefix : "/api/v1/qdrant" ,
469469 apiKey : undefined ,
470470 headers : {
471- "User-Agent" : "Roo -Code" ,
471+ "User-Agent" : "Zoo -Code" ,
472472 } ,
473473 } )
474474 expect ( ( vectorStoreWithMultiSegment as any ) . qdrantUrl ) . toBe ( "http://localhost:6333/api/v1/qdrant" )
@@ -484,7 +484,7 @@ describe("QdrantVectorStore", () => {
484484 prefix : "/ollama/api/v1" , // Trailing slash removed, query/fragment ignored
485485 apiKey : undefined ,
486486 headers : {
487- "User-Agent" : "Roo -Code" ,
487+ "User-Agent" : "Zoo -Code" ,
488488 } ,
489489 } )
490490 expect ( ( vectorStoreComplex as any ) . qdrantUrl ) . toBe ( complexUrl )
@@ -503,7 +503,7 @@ describe("QdrantVectorStore", () => {
503503 prefix : "/api/path" , // Query params and fragment should be ignored
504504 apiKey : undefined ,
505505 headers : {
506- "User-Agent" : "Roo -Code" ,
506+ "User-Agent" : "Zoo -Code" ,
507507 } ,
508508 } )
509509 expect ( ( vectorStoreWithQueryParams as any ) . qdrantUrl ) . toBe (
0 commit comments