pub struct KernelSpec {
pub execution_id: ExecutionId,
pub conversation_id: Option<ConversationId>,
pub user_prompt: String,
pub request_messages: Vec<ConversationMessage>,
pub model: String,
pub generation: ModelGenerationOptions,
pub definition: Arc<AgentDefinition>,
pub granted_capabilities: BTreeSet<String>,
pub limits: KernelLimits,
}Fields§
§execution_id: ExecutionId§conversation_id: Option<ConversationId>§user_prompt: String§request_messages: Vec<ConversationMessage>Request-supplied text messages with their original roles. user_prompt
remains the active goal used by hooks and compaction; it must not replace
this transcript when provider adapters supplied multiple turns.
model: String§generation: ModelGenerationOptions§definition: Arc<AgentDefinition>§granted_capabilities: BTreeSet<String>§limits: KernelLimitsTrait Implementations§
Source§impl Clone for KernelSpec
impl Clone for KernelSpec
Source§fn clone(&self) -> KernelSpec
fn clone(&self) -> KernelSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for KernelSpec
impl !UnwindSafe for KernelSpec
impl Freeze for KernelSpec
impl Send for KernelSpec
impl Sync for KernelSpec
impl Unpin for KernelSpec
impl UnsafeUnpin for KernelSpec
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