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(