pub struct LlmProvider {
pub endpoint: LlmEndpoint,
pub base_url: Option<String>,
pub api_key: Option<String>,
}Expand description
The provider a session starts on — what a model switch falls back to when the
model has no [models.<id>] entry. Captured at boot AFTER env/flag overrides,
so flags/env/config globals define the DEFAULT provider.
Fields§
§endpoint: LlmEndpoint§base_url: Option<String>§api_key: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for LlmProvider
impl Clone for LlmProvider
Source§impl Debug for LlmProvider
impl Debug for LlmProvider
impl Eq for LlmProvider
Source§impl PartialEq for LlmProvider
impl PartialEq for LlmProvider
impl StructuralPartialEq for LlmProvider
Auto Trait Implementations§
impl Freeze for LlmProvider
impl RefUnwindSafe for LlmProvider
impl Send for LlmProvider
impl Sync for LlmProvider
impl Unpin for LlmProvider
impl UnsafeUnpin for LlmProvider
impl UnwindSafe for LlmProvider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.