We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6718caa commit 39f777eCopy full SHA for 39f777e
src/core/search.ts
@@ -374,16 +374,12 @@ export class CodebaseSearcher {
374
375
const queryVector = await this.embeddingProvider.embed(query);
376
377
- try {
378
- const results = await this.storageProvider.search(queryVector, limit, filters);
+ const results = await this.storageProvider.search(queryVector, limit, filters);
379
380
- return results.map((r) => ({
381
- chunk: r.chunk,
382
- score: r.score
383
- }));
384
- } catch (error) {
385
- throw error;
386
- }
+ return results.map((r) => ({
+ chunk: r.chunk,
+ score: r.score
+ }));
387
}
388
389
private async keywordSearch(
0 commit comments