Skip to content

community: Fix HTTP protocol handling in AzureAISearchRetriever._build_search_url #30886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kaspars-strods
Copy link

Description: This PR fixes the URL construction logic in AzureAISearchRetriever to properly handle HTTP protocols when specified in the service name. Previously, when service_name was provided with an HTTP protocol (e.g., "http://my-search-service"), the logic didn't properly handle this case. This is important for users working in service mesh environments like Istio, where internal service-to-service communication often uses HTTP while the mesh handles TLS termination.

Issue: N/A

Dependencies: None

Copy link

vercel bot commented Apr 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2025 9:35pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. community Related to langchain-community Ɑ: retriever Related to retriever module 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Apr 16, 2025
@kaspars-strods
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature community Related to langchain-community Ɑ: retriever Related to retriever module size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant