namespace AIStudio.Provider; /// /// The base class for all providers. /// public abstract class BaseProvider { /// /// The HTTP client to use for all requests. /// protected readonly HttpClient httpClient = new(); /// /// Constructor for the base provider. /// /// The base URL for the provider. protected BaseProvider(string url) { // Set the base URL: this.httpClient.BaseAddress = new(url); } }