pub struct ConfigurationSnapshot {
pub provider: String,
pub model: String,
pub authenticated: bool,
pub credential_setup_command: String,
pub sandbox: Option<String>,
pub context_window: Option<u64>,
pub shared_ui: Option<SharedUiPreferences>,
pub secret_store: Option<SecretStoreInfo>,
pub session_options: Option<SessionOptionsSnapshot>,
}Expand description
Basic workspace and provider configuration exposed to the GUI.
Fields§
§provider: StringActive provider identifier.
model: StringActive model identifier.
authenticated: boolWhether provider authentication requirements passed startup preflight.
credential_setup_command: StringExisting CLI command users can run to configure credentials.
sandbox: Option<String>Human label for the execution policy the service runs under.
context_window: Option<u64>Context window of the active model, when the catalog knows it.
Non-secret CLI UI preferences available to the native client.
secret_store: Option<SecretStoreInfo>In-app secret-form support for the active provider, absent for login-flow/local providers and older services.
session_options: Option<SessionOptionsSnapshot>Effective options for the next runtime session, absent on older helpers.
Trait Implementations§
Source§impl Clone for ConfigurationSnapshot
impl Clone for ConfigurationSnapshot
Source§impl Debug for ConfigurationSnapshot
impl Debug for ConfigurationSnapshot
Source§impl<'de> Deserialize<'de> for ConfigurationSnapshot
impl<'de> Deserialize<'de> for ConfigurationSnapshot
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
impl Eq for ConfigurationSnapshot
Source§impl PartialEq for ConfigurationSnapshot
impl PartialEq for ConfigurationSnapshot
Source§impl Serialize for ConfigurationSnapshot
impl Serialize for ConfigurationSnapshot
impl StructuralPartialEq for ConfigurationSnapshot
Auto Trait Implementations§
impl Forget for ConfigurationSnapshot
impl Freeze for ConfigurationSnapshot
impl RefUnwindSafe for ConfigurationSnapshot
impl Send for ConfigurationSnapshot
impl Sync for ConfigurationSnapshot
impl Unpin for ConfigurationSnapshot
impl UnsafeUnpin for ConfigurationSnapshot
impl UnwindSafe for ConfigurationSnapshot
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.