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

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 bug Related to a bug, vulnerability, unexpected error with an existing feature labels Apr 16, 2025
@kaspars-strods
Copy link
Author

Copy link
Collaborator

@ccurme ccurme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for this. We've moved langchain-community into a standalone repo. Would you mind opening your PR there?

https://github.com/langchain-ai/langchain-community

@ccurme ccurme closed this Apr 29, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants