pub struct WorkflowContext { /* private fields */ }
Expand description
Workflow context that tracks current state and provides guidance
Implementations§
Source§impl WorkflowContext
impl WorkflowContext
Sourcepub fn new(session_state: SessionState) -> Self
pub fn new(session_state: SessionState) -> Self
Create new workflow context from session state
Sourcepub fn generate_suggestions(&self) -> Result<WorkflowSuggestion>
pub fn generate_suggestions(&self) -> Result<WorkflowSuggestion>
Generate workflow suggestions based on current state
Sourcepub fn suggest_for_symbol(&self, symbol_id: &str) -> Result<Vec<ToolSuggestion>>
pub fn suggest_for_symbol(&self, symbol_id: &str) -> Result<Vec<ToolSuggestion>>
Get suggestions for a specific symbol
Sourcepub fn suggest_alternatives(&self) -> Result<Vec<ToolSuggestion>>
pub fn suggest_alternatives(&self) -> Result<Vec<ToolSuggestion>>
Get alternative workflow approaches
Sourcepub fn suggest_batch_analysis(&self) -> Result<Vec<String>>
pub fn suggest_batch_analysis(&self) -> Result<Vec<String>>
Suggest batch analysis for current workflow stage
Sourcepub fn assess_stage_completion(&self) -> Result<WorkflowStageAssessment>
pub fn assess_stage_completion(&self) -> Result<WorkflowStageAssessment>
Assess workflow completion and suggest next stage
Sourcepub fn suggest_workflow_optimizations(
&self,
) -> Result<Vec<WorkflowOptimization>>
pub fn suggest_workflow_optimizations( &self, ) -> Result<Vec<WorkflowOptimization>>
Generate workflow optimization suggestions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowContext
impl RefUnwindSafe for WorkflowContext
impl Send for WorkflowContext
impl Sync for WorkflowContext
impl Unpin for WorkflowContext
impl UnwindSafe for WorkflowContext
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