pub struct AliceRuntimeContext {
pub agent_loop: AgentLoop,
pub agent: Agent,
pub backend: Arc<dyn AgentBackend>,
pub memory_service: Arc<MemoryService>,
pub skill_composer: Option<SkillPromptComposer>,
pub skill_token_budget: usize,
pub default_model: String,
}Expand description
Fully wired Alice runtime context.
Fields§
§agent_loop: AgentLoopAgent loop with slash-command support and tape recording.
agent: AgentBob Agent for high-level Session-based interaction.
backend: Arc<dyn AgentBackend>Agent backend abstraction (bob-agent or acp-agent).
memory_service: Arc<MemoryService>Local memory service.
skill_composer: Option<SkillPromptComposer>Skill prompt composer (None when skills disabled).
skill_token_budget: usizeToken budget for skill prompt injection.
default_model: StringDefault model id.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AliceRuntimeContext
impl !RefUnwindSafe for AliceRuntimeContext
impl Send for AliceRuntimeContext
impl Sync for AliceRuntimeContext
impl Unpin for AliceRuntimeContext
impl UnsafeUnpin for AliceRuntimeContext
impl !UnwindSafe for AliceRuntimeContext
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