pub struct LlmConfigData {
pub provider: String,
pub model: String,
pub api_key: Option<String>,
pub base_url: Option<String>,
}Expand description
Serializable LLM configuration
Fields§
§provider: String§model: String§api_key: Option<String>API key is NOT stored - must be provided on session resume
base_url: Option<String>Trait Implementations§
Source§impl Clone for LlmConfigData
impl Clone for LlmConfigData
Source§fn clone(&self) -> LlmConfigData
fn clone(&self) -> LlmConfigData
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 moreSource§impl Debug for LlmConfigData
impl Debug for LlmConfigData
Source§impl<'de> Deserialize<'de> for LlmConfigData
impl<'de> Deserialize<'de> for LlmConfigData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LlmConfigData
impl RefUnwindSafe for LlmConfigData
impl Send for LlmConfigData
impl Sync for LlmConfigData
impl Unpin for LlmConfigData
impl UnsafeUnpin for LlmConfigData
impl UnwindSafe for LlmConfigData
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