The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix Azure National Cloud authentication using token (RBAC) (Generated by Ana - AI SDE) (#25843)
Anaebab2ea81ba2
diff --git a/libs/community/langchain_community/vectorstores/azuresearch.py b/libs/community/langchain_community/vectorstores/azuresearch.pyindex 6748f81dc2..6930c8319e 100644--- a/libs/community/langchain_community/vectorstores/azuresearch.py+++ b/libs/community/langchain_community/vectorstores/azuresearch.py@@ -150,7 +150,10 @@ def _get_search_client(else:credential = DefaultAzureCredential()index_client: SearchIndexClient = SearchIndexClient(- endpoint=endpoint, credential=credential, user_agent=user_agent+ endpoint=endpoint,+ credential=credential,+ user_agent=user_agent,+ **additional_search_client_options,)try:index_client.get_index(name=index_name)