pub struct HttpProviderConfig {
pub api_key: String,
pub model: String,
pub base_url: String,
pub client: Client,
}Expand description
Base configuration for HTTP-based LLM providers.
Fields§
§api_key: StringAPI key for authentication.
model: StringModel identifier.
base_url: StringBase URL for the API.
client: ClientHTTP client.
Implementations§
Trait Implementations§
Source§impl Clone for HttpProviderConfig
impl Clone for HttpProviderConfig
Source§fn clone(&self) -> HttpProviderConfig
fn clone(&self) -> HttpProviderConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpProviderConfig
impl !RefUnwindSafe for HttpProviderConfig
impl Send for HttpProviderConfig
impl Sync for HttpProviderConfig
impl Unpin for HttpProviderConfig
impl UnsafeUnpin for HttpProviderConfig
impl !UnwindSafe for HttpProviderConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more