pub struct LlmContext {
pub provider: LlmProvider,
pub model: String,
}Expand description
LLM provider and model context attached to one Agent event.
Fields§
§provider: LlmProviderProvider namespace with typed variants for built-in providers.
model: StringProvider model name.
Trait Implementations§
Source§impl Debug for LlmContext
impl Debug for LlmContext
Source§impl<'de> Deserialize<'de> for LlmContext
impl<'de> Deserialize<'de> for LlmContext
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 LlmContext
impl RefUnwindSafe for LlmContext
impl Send for LlmContext
impl Sync for LlmContext
impl Unpin for LlmContext
impl UnsafeUnpin for LlmContext
impl UnwindSafe for LlmContext
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