This is an automated email from the ASF dual-hosted git repository.

xtsong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git

commit 4eecf0b8758c1eb3f7c876d84e4c69c2472570ce
Author: youjin <[email protected]>
AuthorDate: Thu Jan 15 12:00:24 2026 +0800

    [hotfix] Fix data loss when initializing VectorStoreQuery
---
 .../java/org/apache/flink/agents/api/vectorstores/VectorStoreQuery.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/api/src/main/java/org/apache/flink/agents/api/vectorstores/VectorStoreQuery.java
 
b/api/src/main/java/org/apache/flink/agents/api/vectorstores/VectorStoreQuery.java
index bc556827..6e78958b 100644
--- 
a/api/src/main/java/org/apache/flink/agents/api/vectorstores/VectorStoreQuery.java
+++ 
b/api/src/main/java/org/apache/flink/agents/api/vectorstores/VectorStoreQuery.java
@@ -57,7 +57,7 @@ public class VectorStoreQuery {
      */
     public VectorStoreQuery(
             String queryText, Integer limit, String collection, Map<String, 
Object> extraArgs) {
-        this(VectorStoreQueryMode.SEMANTIC, queryText, limit, collection, new 
HashMap<>());
+        this(VectorStoreQueryMode.SEMANTIC, queryText, limit, collection, 
extraArgs);
     }
 
     /**

Reply via email to