jaslam94 / Junaid.GoogleGemini.Net

An open-source .NET library to use Gemini (Google’s largest and most capable AI model yet).
12 stars 2 forks source link

Improve AddGemini extension method to make it more consumer friendly #13

Open jaslam94 opened 8 months ago

jaslam94 commented 8 months ago

I want to use DI to configure the HTTP client and services. However, with a custom HTTP client, all of the configuration method logic has to be rewritten by the consumer. I want to refactor this method to make the usage of the library more consumer-friendly.