Changesets · Branches · Tags · Compare
| Changeset | 37bbf3e7899b2b6d9f6012e85709cdb5d5ac3318eef675016e1dda7dfa716dfa |
|---|---|
| Author | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-06-26 16:29 +05:30 |
| Committer | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-06-26 16:29 +05:30 |
| Parents | 784ab8e8b22d |
1 file changed
modified core/context/retrieval/retrieval.ts +6 −3
| @@ -24,8 +24,6 @@ | ||
| 24 | 24 | // } |
| 25 | 25 | const includeEmbeddings = !!extras.config.selectedModelByRole.embed; |
| 26 | 26 | |
| 27 | - console.log("debug1 running retrieval"); | |
| 28 | - | |
| 29 | 27 | // Get tags to retrieve for |
| 30 | 28 | const workspaceDirs = await extras.ide.getWorkspaceDirs(); |
| 31 | 29 | |
| @@ -72,7 +70,12 @@ | ||
| 72 | 70 | }; |
| 73 | 71 | |
| 74 | 72 | const pipeline = new pipelineType(pipelineOptions); |
| 75 | - const results = [] as any[]; | |
| 73 | + const results = await pipeline.run({ | |
| 74 | + tags, | |
| 75 | + filterDirectory, | |
| 76 | + query: extras.fullInput, | |
| 77 | + includeEmbeddings, | |
| 78 | + }); | |
| 76 | 79 | |
| 77 | 80 | if (results.length === 0) { |
| 78 | 81 | if (extras.config.disableIndexing) { |