Skip to content

Commit ee79f2c

Browse files
kmruizCopilot
andauthored
Update src/tools/mongodb/read/aggregate.ts
Co-authored-by: Copilot <[email protected]>
1 parent 36effb3 commit ee79f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/mongodb/read/aggregate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class AggregateTool extends MongoDBToolBase {
252252
inputType: "query",
253253
});
254254

255-
// $vectorSearch.queryVector can be a BSON.Binary: that it's not either number or an array.
255+
// $vectorSearch.queryVector can be a BSON.Binary, which is neither a number nor an array.
256256
// It's not exactly valid from the LLM perspective. That's why we overwrite the
257257
// stage in an untyped way, as what we expose and what we can use are different.
258258
vectorSearchStage.queryVector = embeddings as number[];

0 commit comments

Comments
 (0)