From ad99744f55bb707afee6e3c14af97d926d9c3a42 Mon Sep 17 00:00:00 2001 From: Cameron Hutchison Date: Wed, 18 Dec 2024 10:38:50 -0600 Subject: [PATCH] Update vectorstores.py Resolve weird line duplication from accepting the proposed change --- integrations/langchain/src/databricks_langchain/vectorstores.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/integrations/langchain/src/databricks_langchain/vectorstores.py b/integrations/langchain/src/databricks_langchain/vectorstores.py index 1af654b..f513dfa 100644 --- a/integrations/langchain/src/databricks_langchain/vectorstores.py +++ b/integrations/langchain/src/databricks_langchain/vectorstores.py @@ -238,8 +238,6 @@ def __init__( self.index = VectorSearchClient(**(client_args or {})).get_index( endpoint_name=endpoint, index_name=index_name ) - endpoint_name=endpoint, index_name=index_name - ) except Exception as e: if endpoint is None and "Wrong vector search endpoint" in str(e): raise ValueError(