pub struct SessionConfig {
pub specialist_profile: Option<String>,
pub mode: Option<String>,
pub permission_profile: Option<String>,
pub extensions: BTreeMap<ExtensionKey, VersionedExtension>,
pub connector_ref: Option<String>,
}Expand description
External-agent session configuration (no prompt, MCP URL, or secrets).
Fields§
§specialist_profile: Option<String>Optional specialist profile label.
mode: Option<String>Optional mode label (agent/plan/ask…).
permission_profile: Option<String>Optional permission profile label.
extensions: BTreeMap<ExtensionKey, VersionedExtension>Namespaced extensions.
connector_ref: Option<String>Opaque, connector-resolved target reference for this transaction —
e.g. which of several equivalent backends (same wire protocol,
different endpoint/credential) a DirectLlm Channel should route to.
Connector-only: never encoded onto the wire, never validated against
OptionPolicy::allowed_extension_keys (unlike extensions, which
is wire-visible and must be encoded or rejected — D-023). A
Connector that supports dynamic targets reads this from
OpenConnection::session_config; one that doesn’t (a fixed
single-backend Channel) simply never looks at it.
Trait Implementations§
Source§impl Clone for SessionConfig
impl Clone for SessionConfig
Source§fn clone(&self) -> SessionConfig
fn clone(&self) -> SessionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more