The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: clean warning when delete by ids (#19301)
mackonge65dc4b95b40
diff --git a/libs/community/langchain_community/vectorstores/milvus.py b/libs/community/langchain_community/vectorstores/milvus.pyindex aac0b031b5..3892d2e4e3 100644--- a/libs/community/langchain_community/vectorstores/milvus.py+++ b/libs/community/langchain_community/vectorstores/milvus.py@@ -933,11 +933,11 @@ class Milvus(VectorStore):kwargs: Other parameters in Milvus delete api."""if isinstance(ids, list) and len(ids) > 0:- expr = f"{self._primary_field} in {ids}"if expr is not None:logger.warning("Both ids and expr are provided. " "Ignore expr and delete by ids.")+ expr = f"{self._primary_field} in {ids}"else:assert isinstance(expr, str