-
Notifications
You must be signed in to change notification settings - Fork 36
Feature Request: Custom HttpClient #166
Copy link
Copy link
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
When using the SDK it would be good to be able to pass a custom HttpClient so that certain properties can be controlled like the request timeout. I came across timeout too short when trying to process long queries.
I have implemented temporary solution myself at: https://github.com/matty/dotnet-genai/tree/feature/custom_httpclient