Skip to content

Commit

Permalink
fix(milvus): correct filter handling in apply function to ensure prop…
Browse files Browse the repository at this point in the history
…er string conversion
  • Loading branch information
Hoshino-Yumetsuki committed Dec 31, 2024
1 parent dc3b599 commit 5f759f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vector-store-service/src/vectorstore/milvus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export async function apply(
const filterStr =
typeof filter === 'object'
? JSON.stringify(filter)
: (filter ?? '')
: filter ?? ''

Check failure on line 217 in packages/vector-store-service/src/vectorstore/milvus.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `filter·??·''` with `(filter·??·'')`

await store.grabCollectionFields()

Expand Down

0 comments on commit 5f759f5

Please sign in to comment.