pub struct AgentComponentSet {
pub client: AnyClient,
pub tool_registry: Arc<ToolRegistry>,
pub decision_tracker: DecisionTracker,
pub error_recovery: ErrorRecoveryManager,
pub summarizer: ConversationSummarizer,
pub tree_sitter_analyzer: TreeSitterAnalyzer,
pub compaction_engine: Arc<CompactionEngine>,
pub session_info: SessionInfo,
}
Expand description
Collection of dependencies required by the Agent
.
Consumers that want to reuse the agent loop can either construct this bundle
directly with AgentComponentBuilder
or provide their own specialized
implementation when embedding VTCode.
Fields§
§client: AnyClient
§tool_registry: Arc<ToolRegistry>
§decision_tracker: DecisionTracker
§error_recovery: ErrorRecoveryManager
§summarizer: ConversationSummarizer
§tree_sitter_analyzer: TreeSitterAnalyzer
§compaction_engine: Arc<CompactionEngine>
§session_info: SessionInfo
Auto Trait Implementations§
impl Freeze for AgentComponentSet
impl !RefUnwindSafe for AgentComponentSet
impl Send for AgentComponentSet
impl Sync for AgentComponentSet
impl Unpin for AgentComponentSet
impl !UnwindSafe for AgentComponentSet
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more