pub struct SessionContextRequest {
pub session_id: AgentSessionId,
pub current_run_id: RunId,
pub through_session_seq: Option<u64>,
pub system_message: Option<ModelMessage>,
pub tools: Vec<ModelToolDefinition>,
pub history_limit: usize,
pub max_context_tokens: u64,
pub reserved_output_tokens: u64,
pub config_digest: Digest,
pub allowed_skill_digests: BTreeMap<SkillId, Digest>,
}Fields§
§session_id: AgentSessionId§current_run_id: RunId§through_session_seq: Option<u64>Optional append-only Journal cursor used to reproduce a prior model
request exactly during recovery. None projects the current head.
system_message: Option<ModelMessage>§tools: Vec<ModelToolDefinition>§history_limit: usizeMaximum number of non-current Run history groups eligible for this request. Current Run task/safety state and its loaded Skills remain pinned; complete older Tool exchanges may be replaced by a durable active-Run summary under Context pressure.
max_context_tokens: u64§reserved_output_tokens: u64§config_digest: Digest§allowed_skill_digests: BTreeMap<SkillId, Digest>Exact Skill packages visible to this immutable Run binding.
Auto Trait Implementations§
impl Freeze for SessionContextRequest
impl RefUnwindSafe for SessionContextRequest
impl Send for SessionContextRequest
impl Sync for SessionContextRequest
impl Unpin for SessionContextRequest
impl UnsafeUnpin for SessionContextRequest
impl UnwindSafe for SessionContextRequest
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
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.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.