Skip to content
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

Allow passing custom HttpClient #228

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Allow passing custom HttpClient #228

merged 1 commit into from
Jan 4, 2024

Conversation

qihangnet
Copy link
Contributor

Motivation and Context

For some businesses and their teams, there is often a need for more detailed and personalized configuration when using HttpClient to make network requests. Semantic Kernel already supports this. However, inconsistencies in operation were found when using Semantic Kernel and Kernel Memory synchronously. To address this issue, this improvement PR has been submitted, aiming to standardize the corresponding features to be on par with the design of Semantic Kernel. Reference: microsoft/semantic-kernel#743

Description

Introduce a new optional parameter named httpClient. By setting its default value to null, we ensure that the existing user's code remains unaffected and backward compatible.

@qihangnet
Copy link
Contributor Author

@microsoft-github-policy-service agree

@dluc dluc merged commit 939b2fd into microsoft:main Jan 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants