pub struct CatalogModelSource {
pub catalog: Arc<ModelCatalog>,
pub conversation_store: PersistentConversationStore,
}Expand description
[ModelSource] over the daemon’s catalog: each completion round resolves
the model persisted for its thread in the conversation store, falling back
to the global default when the selection is no longer available. Model
switching is just persisting a new selection — the next round picks it up,
and an in-flight completion finishes on the model it started with.
Fields§
§catalog: Arc<ModelCatalog>§conversation_store: PersistentConversationStoreTrait Implementations§
Source§impl ModelSource for CatalogModelSource
impl ModelSource for CatalogModelSource
Auto Trait Implementations§
impl !RefUnwindSafe for CatalogModelSource
impl !UnwindSafe for CatalogModelSource
impl Freeze for CatalogModelSource
impl Send for CatalogModelSource
impl Sync for CatalogModelSource
impl Unpin for CatalogModelSource
impl UnsafeUnpin for CatalogModelSource
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