pub struct LlmConfig {
pub provider: String,
pub model: String,
pub api_key: SecretString,
pub base_url: Option<String>,
pub retry_config: Option<RetryConfig>,
}Expand description
LLM client configuration
Fields§
§provider: String§model: String§api_key: SecretString§base_url: Option<String>§retry_config: Option<RetryConfig>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LlmConfig
impl RefUnwindSafe for LlmConfig
impl Send for LlmConfig
impl Sync for LlmConfig
impl Unpin for LlmConfig
impl UnsafeUnpin for LlmConfig
impl UnwindSafe for LlmConfig
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