pub struct SessionCheckpointConfig {
pub pipeline: PipelineSettings,
pub permissions: GlobalPermissionSettings,
pub llm_primary_provider: String,
pub llm_fallback_provider: Option<String>,
pub openai_model: Option<String>,
pub anthropic_model: Option<String>,
pub grok_model: Option<String>,
pub ollama_model: Option<String>,
pub hooks: HooksSettings,
}Expand description
A redacted subset of configuration captured in a session checkpoint.
This intentionally excludes secrets such as API keys.
Fields§
§pipeline: PipelineSettingsPipeline behavior relevant to prompt/history management.
permissions: GlobalPermissionSettingsDefault permission behavior for new sessions.
llm_primary_provider: StringGlobal primary LLM provider id (e.g., “openai”, “anthropic”, “ollama”).
llm_fallback_provider: Option<String>Optional global fallback LLM provider id.
openai_model: Option<String>Optional global model selector for OpenAI (no secrets).
anthropic_model: Option<String>Optional global model selector for Anthropic (no secrets).
grok_model: Option<String>Optional global model selector for Grok (no secrets).
ollama_model: Option<String>Optional global model selector for Ollama (no secrets).
hooks: HooksSettingsHooks configuration (no secrets).
This is safe to capture because hook execution is still governed by explicit allow-listing of programs and hooks are disabled by default.
Implementations§
Source§impl SessionCheckpointConfig
impl SessionCheckpointConfig
Sourcepub fn from_app_config(config: &AppConfig) -> Self
pub fn from_app_config(config: &AppConfig) -> Self
Build a checkpoint-safe config snapshot from the full application config.
This method must not include secrets (API keys).
Trait Implementations§
Source§impl Clone for SessionCheckpointConfig
impl Clone for SessionCheckpointConfig
Source§fn clone(&self) -> SessionCheckpointConfig
fn clone(&self) -> SessionCheckpointConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionCheckpointConfig
impl Debug for SessionCheckpointConfig
Source§impl<'de> Deserialize<'de> for SessionCheckpointConfig
impl<'de> Deserialize<'de> for SessionCheckpointConfig
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>,
Source§impl PartialEq for SessionCheckpointConfig
impl PartialEq for SessionCheckpointConfig
Source§impl Serialize for SessionCheckpointConfig
impl Serialize for SessionCheckpointConfig
impl Eq for SessionCheckpointConfig
impl StructuralPartialEq for SessionCheckpointConfig
Auto Trait Implementations§
impl Freeze for SessionCheckpointConfig
impl RefUnwindSafe for SessionCheckpointConfig
impl Send for SessionCheckpointConfig
impl Sync for SessionCheckpointConfig
impl Unpin for SessionCheckpointConfig
impl UnwindSafe for SessionCheckpointConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].