pub struct LlmModeConfig {
pub provider: String,
pub endpoint: String,
pub model: String,
pub api_key: Option<String>,
pub timeout_secs: u64,
}Expand description
Configuration for LLM mode.
Fields§
§provider: String§endpoint: String§model: String§api_key: Option<String>§timeout_secs: u64Trait Implementations§
Source§impl Clone for LlmModeConfig
impl Clone for LlmModeConfig
Source§fn clone(&self) -> LlmModeConfig
fn clone(&self) -> LlmModeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LlmModeConfig
impl RefUnwindSafe for LlmModeConfig
impl Send for LlmModeConfig
impl Sync for LlmModeConfig
impl Unpin for LlmModeConfig
impl UnsafeUnpin for LlmModeConfig
impl UnwindSafe for LlmModeConfig
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